* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 }
a {
text-decoration: none;
}
 body {
 font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 min-height: 100vh;
 min-width: 100vw;
 display: flex;
 flex-direction: column;
 }

 .banner {
 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 padding: 20px;
 text-align: center;
 }

 .banner a {
 color: white;
 text-decoration: none;
 font-size: 28px;
 font-weight: bold;
 letter-spacing: 1px;
 }

 .navbar {
 background-color: #f8f9fa;
 border-bottom: 2px solid #e0e0e0;
 padding: 12px 0;
 }

 .navbar ul {
 list-style: none;
 display: flex;
 justify-content: center;
 gap: 40px;
 }

 .navbar a {
 color: #333;
 text-decoration: none;
 font-size: 16px;
 font-weight: 500;
 transition: color 0.3s;
 }

 .navbar a:hover {
 color: #667eea;
 }

 .calendar-container {
 flex: 1;
 padding: 30px;
 background-color: #fafafa;
 }

 .calendar-header {
 text-align: center;
 margin-bottom: 30px;
 font-size: 24px;
 color: #333;
 font-weight: 600;
 }

 .calendar {
 max-width: 1200px;
 margin: 0 auto;
 background: white;
 border-radius: 8px;
 box-shadow: 0 2px 10px rgba(0,0,0,0.1);
 overflow: hidden;
 }

 .weekdays {
 display: grid;
 grid-template-columns: repeat(7, 1fr);
 background-color: #667eea;
 color: white;
 font-weight: 600;
 }

 .weekdays div {
 padding: 15px;
 text-align: center;
 border-right: 1px solid rgba(255,255,255,0.2);
 }

 .weekdays div:last-child {
 border-right: none;
 }

 .days {
 display: grid;
 grid-template-columns: repeat(7, 1fr);
 }

 .day {
 min-height: 120px;
 border: 1px solid #e0e0e0;
 padding: 10px;
 background-color: white;
 transition: all 0.3s;
 cursor: pointer;
 text-decoration: none;
 color: #333;
 display: flex;
 flex-direction: column;
 }

 .day:hover {
 background-color: #f0f4ff;
 transform: translateY(-2px);
 box-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
 }
 .dayindex
 {
  min-height: 120px;
 border: 1px solid #e0e0e0;
 padding: 10px;
 background-color: white;
 transition: all 0.3s;
 cursor: pointer;
 text-decoration: none;
 color: #333;
 display: flex;
 flex-direction: column;
 }


 .day-number {
 font-weight: 600;
 font-size: 18px;
 margin-bottom: 5px;
 }

 .day.other-month {
     background-color: #f5f5f5;
     color: #999;
 }
.dayindex.other-month {
background-color: #f5f5f5;
color: #999;
}
 .day.today {
     background-color: #fff4e6;
     border: 2px solid #ff9800;
 }

 .day.today .day-number {
     color: #ff9800;
 }

.date-dropdown-activator {
      padding: 16px;
      border: none;
      font-size: 24px;
      color: #6479d9;

}
.date-dropdown a{text-decoration: none; color: #6479d9;}
.date-dropdown a:visited{text-decoration: none; color: #6479d9;}
.date-dropdown a:hover {text-decoration: none; color: white; background-color: #6479d9;}
.date-dropdown {
     position: relative;
     display: inline-block;

 }

 .date-dropdown-content {
     display: none;
     position: absolute;
     background-color: white;
     z-index: 1;
     padding: 16px;
 }

 .date-dropdown:hover .date-dropdown-content {display: block; max-height: 600px; overflow: auto;}

 .dropdown-option:hover {
 background-color: #6479d9;
 color: white;
 }

 .form-reg-log {
 text-align: center;
 font-size: 24px;
 padding: 5px;
 color: #324dc7;
font-weight: 700;
 }

 .main-form{
    border: none;
    color: white;
    min-height: 30px;
    min-width: 100px;
    display: inline-block;
    background-color: #6479d9;
 }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #6479d9 inset !important;
    -webkit-text-fill-color: white !important;
}


.butt{
color: white;
background-color: #324dc7;
min-width: 60px;
min-height: 40px;
}

.events {
    display: flex;
    flex-direction: column;

    min-width: 80%;
    min-height: 75%;
}
 h1 {
      text-align: center;
      color: #333;
    }

.date-time-input {
    min-height: 50px;
    min-width: 100px;
}

.date-events{
    border: none;

}


.table {
            display: table;
            width: 100%;
            border-collapse: collapse;
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .table-row {
            display: table-row;
            border: 1px solid #ddd;
            padding: 5px;
            text-align: center;
            margin: 10px;
        }

        .table-header {
            display: table-row;
            font-weight: bold;
            background-color: #667eea;
        }

        .table-cell {
            display: table-cell;
            padding: 12px;
            border: 1px solid #ddd;
            vertical-align: middle;
            text-align: center;
        }

        .col-1 { width: 15%; }
        .col-2 { width: 45%; }
        .col-3 { width: 15%; }
        .col-4 { width: 10%; }
        .col-5 { width: 15%; }

        .table-row:nth-child(even) {
            background-color: #f8f9fa;
        }

.table-row:hover {
    background-color: #eaf4ff;
}

.buttons {
    display: flex-block;
    min-width: 90vw;
    min-height: 25%;
    flex-direction: row;
    margin: auto;
    text-align: center;
}

.form-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: inline-flex;
    text-align: center;
    vertical-align: middle;
    padding: 1%;
    font-weight: bold;
    font-size: 25px;
    border: 1px solid white;
}
.form-button:hover {
    cursor: pointer;
    border: 2px solid black;
}

.pages-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: inline-flex;
    text-align: center;
    padding: 1%;
    font-weight: bold;
    font-size: 25px;
    border: 1px solid white;
}
.pages-button:hover {
    cursor: pointer;
    border: 2px solid black;
}

