* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(252, 248, 248);
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 450px;
    background: rgba(218, 136, 13, 0.9);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(243, 241, 241, 0.2);
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

.header {
    background: linear-gradient(to right, #b7ac4b, #d6af30);
    color: black;
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
}

.background-image {
    background-image: url(/assets/image/Ram_Mandir\,_Ayodhya-hero.png);
    background-repeat: no-repeat;
    opacity: 60%;
    background-size: cover;
    border-radius: 16px;
    z-index: -1;
    padding: 16px 16px 16px 16px;
}

.header img {
    padding: 0;
    height: 150px;
    width: 150px;
}

.header h1 {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 10px;
    color: #fcfcfc;
}

.header p {
    opacity: 2;
    font-weight: 600;
    color: #000000;
}

.form-container {
    padding: 30px;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #b7ac4b;
    box-shadow: 0 0 0 3px rgba(183, 172, 75, 0.2);
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 40px;
    color: #b7ac4b;
    font-size: 18px;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-forgot label {
    display: flex;
    align-items: center;
    color: #555;
}

.remember-forgot input {
    margin-right: 8px;
}

.remember-forgot a {
    color: #b7ac4b;
    text-decoration: none;
    transition: color 0.3s;
}

.remember-forgot a:hover {
    text-decoration: underline;
    color: #d6af30;
}

.btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #b7ac4b, #d6af30);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #777;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.separator span {
    padding: 0 15px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.facebook {
    background: #3b5998;
}

.google {
    background: #dd4b39;
}

.twitter {
    background: #1da1f2;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.register {
    text-align: center;
    margin-top: 20px;
    color: #555;
}

.register a {
    color: #b7ac4b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register a:hover {
    text-decoration: underline;
    color: #d6af30;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.page-navigation {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
    padding: 10px 8px;
}

.page-link {
    padding: 10px 20px;
    background: #f1f1f1;
    border-radius: 20px;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.page-link.active,
.page-link:hover {
    background: linear-gradient(to right, #b7ac4b, #d6af30);
    color: white;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@media (max-width: 480px) {
    .container {
        border-radius: 10px;
    }

    .form-container {
        padding: 20px;
    }

    .header {
        padding: 20px;
    }

    .remember-forgot {
        flex-direction: column;
        gap: 10px;
    }
}

/* Page specific styles */
#signupPage,
#forgotPage {
    display: none;
}