@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap");

/* =====================================
      AUTHENTICATION PAGE DESIGN
===================================== */

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

body {
    background: linear-gradient(135deg, #E7004C, #000038);
    margin: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper */
.auth-wrapper {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    padding: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 22px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.6s ease-out;
}

/* Title */
.auth-box h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 32px;

    /* Gradient Text */
    background: linear-gradient(135deg, #E7004C, #000038);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* Tighter spacing */
.input-group {
    margin-bottom: 12px !important;
}

.input-group.small-gap {
    margin-bottom: 12px !important;
}

/* Modern input style */
.input-group label {
    font-weight: 600;
    color: #000038;
    margin-bottom: 4px;
    /* reduced */
    display: block;
    font-size: 13px;
}

.input-group input {
    width: 100%;
    padding: 9px 12px;
    /* reduced padding */
    border: 1.6px solid #ddd;
    border-radius: 10px;
    /* reduced radius for professional look */
    font-size: 14px;
    transition: 0.25s ease;
}

.input-group input:focus {
    border-color: #E7004C;
    box-shadow: 0 0 6px rgba(231, 0, 76, 0.25);
    outline: none;
}


/* dropdown  */
.auth-select {
    width: 100%;
    padding: 9px 12px;
    border: 1.6px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    color: #000038;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;

    /* Custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000038' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

.auth-select:focus {
    border-color: #E7004C;
    box-shadow: 0 0 6px rgba(231, 0, 76, 0.25);
    outline: none;
}

/* Terms Checkbox */
.terms-check {
    font-size: 13px;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
}

.terms-check input {
    width: 16px;
    height: 16px;
}

/* Reduce box padding for compact look */
.auth-wrapper {
    max-width: 430px;
    padding: 22px 26px;
    border-radius: 18px;
}

/* Buttons */
.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #E7004C, #000038);
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    margin-top: 10px;
    transition: 0.3s;
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

/* Page Switch Links */
.auth-switch {
    text-align: center;
    margin-top: 18px;
    color: #555;
    font-size: 14px;
}

.auth-switch a {
    color: #E7004C;
    font-weight: bold;
    text-decoration: none;
}

.auth-switch a:hover {
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 480px) {
    .auth-wrapper {
        margin: 20px;
        padding: 30px;
    }

    .auth-box h2 {
        font-size: 28px;
    }

    .auth-btn {
        font-size: 16px;
    }
}

/* Fade Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}