
/*
Theme Name: Custom Theme
Author: DS
Description: A custom WordPress theme with responsive design.
Version: 1.0
*/

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

#close-profile-popup-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

#close-profile-popup-icon:hover {
    color: #000;
}

#popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 3%;
    z-index: 1000;
    overflow-y: auto;
}

#popup-container {
    background: #f9f9f9;
    border-radius: 15px;
    padding: 30px 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    text-align: center;
}

/* Popup Header */
#popup-container h2 {
    margin-bottom: 20px;
    color: #59852E;
    font-size: 24px;
}

#popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    color: #666;
    z-index: 10;
}

#popup-close:hover {
    color: #000;
}

#popup-container form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

#popup-container form label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
    text-align: center;
}

#popup-container form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-size: 14px;
}

#popup-container form button {
    background-color: #59852E;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 15px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    max-width: 300px;
    transition: background-color 0.3s ease;
}

#popup-container form button:hover {
    background-color: #4b7025;
}


#popup-container label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

#popup-container input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-size: 14px;
}

#popup-container button {
    background-color: #59852E;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 15px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    transition: background-color 0.3s ease;
}

#popup-container button:hover {
    background-color: #4b7025;
}

#forgot-password-popup-overlay {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

#forgot-password-popup {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    position: relative;
    text-align: center;
    margin-top: 10px;
}



#loginResponse {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.popup-login {
    margin-bottom: 20px; 
}
.popup-login form div {
    margin-bottom: 10px;
}
.popup-login label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}
.popup-login input {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.popup-login button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}
.popup-login button:hover {
    background-color: #0056b3;
}

.login-dropdown-container {
    position: relative;
    display: inline-block;
}

#login-dropdown {
    display: none;
    position: absolute;
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 150px;
}

#login-dropdown a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: black;
}

#login-dropdown a:hover {
    background-color: #f1f1f1;
}

#login-button {
    background-color: #59852E;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

#login-button:hover {
    background-color: #466a22;
}

#profile-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

#profile-popup {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 1002;
}

#profile-popup h2 {
    color: #59852E;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

#profile-popup form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#profile-popup form label {
    width: 80%;
    text-align: left;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

#profile-popup form input,
#profile-popup form button {
    width: 80%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

#profile-popup form button {
    background-color: #59852E;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}

#profile-popup form button:hover {
    background-color: #466a22;
}

#close-profile-popup {
    margin-top: 10px;
    background-color: #ccc;
    color: black;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

#close-profile-popup:hover {
    background-color: #999;
}

#close-profile-popup-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

#close-profile-popup-icon:hover {
    color: #000;
}

#popups-container {
    display: none;
}

.certificates-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: nowrap;
}

.certificates-container img {
    height: 100px;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .certificates-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .certificates-container img {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Mobile First Approach */
#profile-popup {
    width: 90%;
    max-width: 900px;
    padding: 20px;
}

#profile-popup input,
#profile-popup button,
#profile-popup a {
    max-width: 100%;
}

/* Larger screens */
@media (min-width: 768px) {
    #profile-popup {
        width: 50%;
        max-width: 600px;
        padding: 30px;
    }
}

@media (min-width: 1200px) {
    #profile-popup {
        width: 40%;
        max-width: 800px;
        padding: 40px;
    }
}







@media (max-width: 768px) {
    .lotto-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .lotto-container > div {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .info-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .info-container > div {
        flex: 1 1 100%;
    }
}
