/* General Reset */

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

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
}


/* Main Content */

.main-container {
    height: 100%;
    width: 100%;
}

.left-section {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
}

.profile-bg {
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 110px);
}

.right-section {
    flex: 3;
    padding-left: 20px;
    height: calc(100vh - 110px);
    margin-bottom: 50px;
}

.profile-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
    max-width: 350px;
}


/* Profile Form */

#username,
#useremail,
#usermobile,
#signOutButton {
    transition: opacity 0.3s ease-in-out;
}

.hidden {
    display: none !important;
}

form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 15px;
}

form input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

form input:disabled {
    background-color: #f3f3f3;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    /* ✅ Add spacing below inputs */
}

.save-btn,
.cancel-btn {
    background-color: #083f88;
    color: white;
    padding: 8px;
    /* ✅ Increase padding */
    font-size: 16px;
    /* ✅ Uniform size */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    /* ✅ Ensure equal width */
    max-width: 150px;
    height: fit-content;
    text-align: center;
}

.cancel-btn {
    background-color: #777;
}

.cancel-btn:hover {
    background-color: #555;
}


/* Add spacing between input fields */

form input {
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    /* ✅ Ensures spacing */
}


/* Show Mobile Number */

#usermobile {
    color: #555;
    font-size: 16px;
    margin-top: 8px;
}


/* Profile Card */

.profile-card {
    text-align: center;
    padding: 20px;
    background-color: white;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.profile-pic-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #269b87;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.edit-btn,
.save-btn {
    background-color: #269b87;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px 0;
}

.edit-btn:hover,
.save-btn:hover {
    background-color: #46e4c9;
}

.hidden {
    display: none;
}


/* Page List Styles */

.page-list {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.page-list li {
    padding: 12px;
    border-bottom: 2px solid #121010;
    cursor: pointer;
}


/* Icon and Text Styling */

.page-list i {
    color: #269b87;
    /* Primary Theme Color */
    font-size: 20px;
    margin-right: 12px;
}


/* Link Styling */

.page-list .page-link {
    color: #063d78;
    /* Dark Blue */
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 8px 0;
    transition: color 0.3s ease-in-out;
}

.page-link {
    border: none;
}


/* Hover Effects */

.page-list .page-link:hover {
    color: #1f7b6a;
    /* Green Shade */
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 8px;
    transition: 0.3s ease-in-out;
}

.sign-in-btn,
.sign-out-btn {
    background-color: #269b87;
    color: white;
    padding: 8px;
    width: 43%;
    height: fit-content;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.sign-in-btn:hover,
.sign-out-btn:hover {
    background-color: #46e4c9;
}


/* Popup Form */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1000;
}

.popup {
    position: fixed;
    margin-top: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1001;
    width: 100%;
    max-width: 400px;
}

.popup h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.popup input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.popup button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#feedback-description,
#contact-description {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    resize: vertical;
}



#close-contact-form1,
#close-feedback-form {
    background-color: #063d78;;
    margin-top: 10px;
    color: white;
}

#close-contact-form1:hover{
    background-color: #052a55;
}

#contact-submit-btn,
#feedback-submit-btn {
    background-color: #269b87;
    color: white;
}
#contact-submit-btn:hover,
#feedback-submit-btn:hover {
    background-color:#46e4c9;
}
#contact-submit-btn:disabled,
#feedback-submit-btn:disabled  {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border: 1px solid #aaa;
}


#close-feedback-form {
    background-color: #063d78;
    color: white;
}
#close-feedback-form:hover {
    background-color: #052a55;
}

.feedback-inline-button {
    background: none;
    color: #063d78;
    font-weight: 600;
    font-size: 18px;
    border: none;
    padding: 0;
    margin-top: -10px;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 100%;
    text-align: left;
}

.feedback-inline-button:hover {
    color: #1f7b6a;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 8px;
    transition: 0.3s ease-in-out;
}


/* Footer */

footer {
    margin-top: 20px;
    background-color: #083f88;
    color: #ffff;
    text-align: center;
    padding: 20px;
    position: relative;
}

footer p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
}

footer h2 {
    font-size: 1rem;
    margin: 0;
    color: #269b87;
    margin-top: -3%;
    padding-left: 80%;
    line-height: 1;
}

footer a {
    font-size: 1.1rem;
    margin: 0;
    margin-left: auto;
    line-height: 1.2;
}

.icon {
    position: relative;
    top: 2px;
    height: 20px;
}


/* Responsive Design */

@media (min-width: 768px) {
    .left-section {
        display: block;
    }
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .copyright {
        margin-bottom: 5px;
        /* Space between lines */
    }
    .developer {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .sign-in-btn {
        width: 85%;
    }
    header .logo-container {
        flex-direction: fixed;
    }
    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    .card img {
        height: 150px;
    }
    .popup {
        width: 90%;
        margin-top: 10px;
    }
    .container {
        flex-direction: column;
    }
    .left-section {
        display: none;
    }
    .right-section {
        flex: 1;
        height: calc(100vh - 150px);
        margin: 0px;
        padding: 10px;
        overflow: scroll;
    }
    .page-list .page-link {
        padding: 0px;
    }
}

.img_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0x;
}

.img_p {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.img_container h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #063d78;
    line-height: 1;
}

.otp-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.otp-container input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.otp-button {
    padding: 8px;
    background-color: #269b87;
    color: #fff;
    width: 30%;
    height: fit-content;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.otp-button:hover {
    background-color: #46e4c9;
}

.otp-verification {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.otp-verification input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.otp-message {
    color: green;
    font-size: 14px;
    margin-top: 5px;
}

.otp-buttons {
    display: flex;
    gap: 10px;
    /* Space between buttons */
    align-items: center;
}

.otp-resend-button {
    display: flex;
    align-items: center;
    gap: 5px;
    /* Space between icon & text */
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.otp-resend-button i {
    font-size: 16px;
    /* Icon size */
}

.otp-resend-button:hover {
    background-color: #0056b3;
}