/* Base Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: #2c2c2c;
    color: #fff;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* Typography */
h2 {
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    color: #00bfff;
    margin-bottom: 30px;
}

/* Button Styles */
.btn {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s ease;
    color: #fff;
    border: 2px solid;
    background: transparent;
    margin: 10px 0;
}

.btn-primary {
    border-color: #00bfff;
}

.btn-primary:hover {
    background-color: #00bfff;
    color: #fff;
}

/* Form Styles */
.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #00bfff;
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
}

.form-label {
    color: #00bfff;
    margin-bottom: 5px;
}

/* Alert Styles */
.alert {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
}

.alert-danger {
    color: #ff6666;
}

/* Link Styles */
a {
    color: #00bfff;
    transition: color 0.3s ease;
}

a:hover {
    color: #80dfff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
    }
}/* Base Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    background: #2c2c2c;
    color: #fff;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    padding: 20px;
    max-width: 800px;
    margin: auto;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

/* Typography */
h2 {
    font-size: 2rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    color: #00bfff;
    margin-bottom: 30px;
}

/* Button Styles */
.btn {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s ease;
    color: #fff;
    border: 2px solid;
    background: transparent;
    margin: 10px 0;
}

.btn-primary {
    border-color: #00bfff;
}

.btn-primary:hover {
    background-color: #00bfff;
    color: #fff;
}

/* Form Styles */
.form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #00bfff;
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.5);
}

.form-label {
    color: #00bfff;
    margin-bottom: 5px;
}

/* Alert Styles */
.alert-success {
    color: rgb(128, 255, 0);
    background-color: rgba(255, 255, 255, 0.137);
    border: none;
}

.alert-danger {
    color: #ff6666;
}

/* Link Styles */
a {
    color: #00bfff;
    transition: color 0.3s ease;
}

a:hover {
    color: #80dfff;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
    }
}

/* General Popup Button Styling */
.popup-content button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border: 2px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 16px;
    width: 140px; /* Fixed width for consistency */
    box-sizing: border-box; /* Ensures padding doesn’t increase width */
}

/* Go to Options Button */
.popup-content .btn-options {
    border-color: #fff;
    width: 164px;
    height: 54px;
}
.popup-content .btn-options:hover {
    background: #0bc9e5;
    color: #fff;
    border-color: #0bc9e5;
}

/* Logout Button */
.popup-content .btn-logout {
    border-color: #fff;
    width: 164px;
    height: 54px;
}
.popup-content .btn-logout:hover {
    background: #eb2c2c;
    color: #fff;
    border-color: #eb2c2c;
}

/* Close Button */
.popup-content .btn-close {
    border-color: #fff;
    font-size: 16px; /* Match font size with other buttons */
    width: 164px;
    height: 54px;
    box-sizing: border-box;
    margin-top: 0px;
}
.popup-content .btn-close:hover {
    background: #444;
    color: #fff;
    border-color: #444;
}

/* Align Buttons */
.popup-content .button-group {
    display: flex;
    justify-content: center;
    gap: 10px; /* Even spacing between buttons */
    margin-top: 20px; /* Add spacing above buttons */
}

.popup-content .close-group {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Popup Content Styling */
.popup-content {
    text-align: center;
    padding: 20px;
    background: #222;
    border-radius: 10px; /* Slight rounding for smooth design */
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* More depth with shadow */
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #444;
}

/* Heading Styling */
.popup-content h3 {
    color: #0bc9e5; /* Blue text for the heading */
    font-size: 18px;
    margin-bottom: 20px; /* Spacing below heading */
}

/* Popup Overlay Styling */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Button Focus State (Accessibility) */
.popup-content button:focus {
    outline: 2px solid #0bc9e5;
    outline-offset: 2px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.text-muted {
    color: #ffffff83 !important; /* or any other color that contrasts with the background */
    font-size: 0.9em;
}

/* Ensure white placeholder text for all inputs on the entire site */
input::placeholder,
textarea::placeholder {
    color: #ffffff6b !important; /* White color with higher specificity */
    opacity: 1; /* Ensure full opacity */
}

input::-webkit-input-placeholder, 
textarea::-webkit-input-placeholder {
    color: #ffffff5b !important;
}

input::-moz-placeholder, 
textarea::-moz-placeholder {
    color: #ffffff5b !important;
}

input:-ms-input-placeholder, 
textarea:-ms-input-placeholder {
    color: #ffffff5b !important;
}

input:-moz-placeholder, 
textarea:-moz-placeholder {
    color: #ffffff5b !important;
}

input, textarea {
    color: #ffffff !important; /* Ensures text color is white while typing */
}

/* General Styling for Google Translate */
#translate-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 999;
}

#google_translate_element select {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Mobile-Friendly Styling */
@media (max-width: 768px) {
    #translate-wrapper {
        position: fixed;
        top: 50px; /* Adjust below navbar height */
        right: 10px;
        z-index: 999;
    }

    /* Optional: Shrink the dropdown size */
    #google_translate_element select {
        font-size: 12px;
        padding: 3px;
    }
}
