* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.logo {
    width: 480px;
    max-width: 95%;
    height: auto;
    margin-bottom: 50px;
}

.form {
    width: 100%;
    max-width: 380px;
}

input {
    width: 100%;
    padding: 18px 24px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    background: #f7f9fc;
    border: 2px solid #e5e9f0;
    border-radius: 12px;
    color: #1e3a5f;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

input::placeholder {
    color: #a0aec0;
}

button {
    width: 100%;
    padding: 18px;
    margin-top: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

button:hover {
    background: linear-gradient(145deg,
    #BF953F 0%,
    #FCF6BA 25%,
    #D4AF37 50%,
    #FBF5B7 75%,
    #AA771C 100%);
    color: #5C4813;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
    box-shadow:
            0 8px 30px rgba(212, 175, 55, 0.5),
            inset 0 2px 3px rgba(255, 251, 213, 0.6),
            inset 0 -2px 3px rgba(170, 119, 28, 0.4);
    transform: translateY(-3px);
}

button:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent);
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Modal Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal {
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
    max-width: 90%;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.modal-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2.5;
}

.modal h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.modal p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 30px;
}

.modal-close {
    padding: 14px 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 2px solid #e5e9f0;
    background: transparent;
    color: #1e3a5f;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #1e3a5f;
    border-color: #1e3a5f;
    color: white;
    transform: none;
    box-shadow: none;
}