* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: white;
    margin: 0;
    padding: 0;
}

.login-container {
    padding: 20px;
    width: 100%;
    max-width: 600px;
    margin: auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-container h2 {
    color: #333;
    font-size: clamp(12px, 2.5vw, 20px);
    font-weight: 400;
    margin-bottom: clamp(8px, 2vw, 30px);
    text-align: center;
    line-height: 1.4;
    flex-shrink: 0;
}

.error-message {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: clamp(6px, 1.5vw, 12px) clamp(10px, 2vw, 16px);
    border-radius: 8px;
    margin-bottom: clamp(8px, 2vw, 20px);
    font-size: clamp(12px, 1.5vw, 14px);
    text-align: center;
}

.form-row {
    display: flex;
    gap: clamp(8px, 2vw, 16px);
    margin-bottom: clamp(12px, 2vw, 24px);
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    margin-bottom: 0;
    position: relative;
}

.form-group label {
    display: block;
    color: #555;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 500;
    margin-bottom: clamp(4px, 1vw, 8px);
}

.form-group input {
    width: 100%;
    padding: clamp(8px, 1.5vw, 14px) clamp(10px, 2vw, 16px);
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: clamp(14px, 2vw, 16px);
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #aee1f9;
    box-shadow: 0 0 0 4px rgba(174, 225, 249, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

/* Date Picker Styles */
.date-picker-wrapper {
    position: relative;
    z-index: 1;
}

.date-input {
    padding-right: 50px;
    cursor: pointer;
}

.date-picker-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7dd3fc;
    transition: color 0.3s ease;
}

.date-picker-toggle:hover {
    color: #aee1f9;
}

.date-picker-toggle:focus {
    outline: none;
    color: #aee1f9;
}



.date-picker-calendar {
        position: fixed;
        background: white;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        padding: 16px;
        z-index: 9999;
        display: none;
        min-width: 280px;
        max-width: calc(100vw - 32px);
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        overflow-y: auto;
        max-height: 80vh;
}

@media (max-width: 600px) {
    .date-picker-calendar {
        min-width: 220px;
        max-width: 95vw;
        max-height: 70vh;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 600px) {
    .date-picker-calendar {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        min-width: 220px;
        max-width: 95vw;
        max-height: 70vh;
    }
}

.date-picker-calendar.active {
    display: block;
}

.date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.date-picker-month-year {
    display: flex;
    gap: 8px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.date-picker-nav {
    background: none;
    border: none;
    font-size: 24px;
    color: #7dd3fc;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-picker-nav:hover {
    background: rgba(174, 225, 249, 0.2);
    color: #aee1f9;
}

.date-picker-nav:focus {
    outline: none;
    background: rgba(174, 225, 249, 0.2);
}

.date-picker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.date-picker-weekdays > div {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    padding: 8px 0;
}

.date-picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.date-picker-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.date-picker-day.empty {
    cursor: default;
    border: none;
}

.date-picker-day:hover:not(.empty) {
    background: rgba(174, 225, 249, 0.2);
    border-color: #aee1f9;
}

.date-picker-day.today {
    background: rgba(174, 225, 249, 0.3);
    border-color: #7dd3fc;
    font-weight: 600;
}

.date-picker-day.selected {
    background: linear-gradient(135deg, #aee1f9 0%, #7dd3fc 100%);
    color: #333;
    font-weight: 600;
    border-color: #7dd3fc;
    box-shadow: 0 2px 8px rgba(174, 225, 249, 0.4);
}

.submit-button {
    width: 100%;
    padding: clamp(10px, 1.5vw, 14px) clamp(16px, 3vw, 24px);
    background: linear-gradient(135deg, #aee1f9 0%, #7dd3fc 100%);
    border: none;
    border-radius: 10px;
    color: #333;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(174, 225, 249, 0.4);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(174, 225, 249, 0.5);
    background: linear-gradient(135deg, #7dd3fc 0%, #aee1f9 100%);
}

.submit-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(174, 225, 249, 0.4);
}

.banners-wrapper {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.banner-names-container {
    width: 100%;
    background: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: 1 1 40%;
    min-height: clamp(50px, 8vh, 120px);
    overflow: hidden;
}

.banner-names {
    width: auto;
    height: 100%;
    max-width: 90%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.banner-flowers-container {
    width: 100%;
    display: block;
    line-height: 0;
    flex: 1 1 25%;
    min-height: clamp(40px, 6vh, 80px);
    overflow: hidden;
}

.banner-flowers {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}


