body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
    margin: 0;
    padding: 20px;
}

.form-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 100%;
    max-width: 400px;
}

h2 {
    margin-top: 0;
    color: #333;
}

.date-input-container {
    position: relative;
    margin-bottom: 20px;
}

.date-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.date-input:hover {
    border-color: #b3b3b3;
}

.date-input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.calendar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 320px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 100;
    padding: 15px;
    margin-top: 5px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.calendar-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.calendar-nav {
    display: flex;
    gap: 10px;
}

.nav-button {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    color: #555;
}

.nav-button:hover {
    background: #f0f0f0;
}

.nav-button svg {
    width: 16px;
    height: 16px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
    font-size: 12px;
    color: #777;
    font-weight: 500;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.day:hover:not(.disabled) {
    background: #f0f0f0;
}

.day.today {
    background: #e6f2ff;
    color: #4a90e2;
    font-weight: 500;
}

.day.selected {
    background: #4a90e2;
    color: white;
    font-weight: 500;
}

.day.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.month-year-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.month-selector, 
.year-selector {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.month-selector:hover, 
.year-selector:hover {
    border-color: #b3b3b3;
}

.calendar-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.action-button {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.action-button:hover {
    background: #e0e0e0;
}

.action-button.primary {
    background: #4a90e2;
    color: white;
}

.action-button.primary:hover {
    background: #3a7bc8;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #3a7bc8;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}