/* Base styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Site header with logo */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    margin-bottom: 20px;
}

.site-header-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-logo h1 {
    margin: 0;
    font-size: 0;
    /* Hide text but keep for screen readers */
}

.site-logo h1 img {
    height: 40px;
    margin-bottom: 5px;
    display: block;
}

.site-logo span {
    font-size: 22px;
    font-weight: bold;
}

.site-nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-greeting {
    margin-right: 10px;
}

/* Page header */
.page-header {
    margin-bottom: 20px;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #f5f5f5;
}

/* Status indicators - Simple colors */
.status-active {
    color: #2e7d32;
    /* Changed from blue to green */
    font-weight: bold;
}

.status-starting {
    color: #1565c0;
    /* Changed from green to blue */
}

.status-ended {
    color: red;
}

/* Button styles */
.btn {
    background-color: #4287f5;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-left: 5px;
}

.btn:hover {
    background-color: #1565c0;
}

.btn-secondary {
    background-color: #000000;
}

.btn-secondary:hover {
    background-color: #666666;
}

.logout {
    background-color: #607D8B;
}

.text-center {
    text-align: center;
}

/* Footer styles */
.site-footer {
    background-color: #fff;
    border-top: 1px solid #ddd;
    padding: 20px 0;
    margin-top: 30px;
}

.site-footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #4287f5;
    text-decoration: none;
    margin-right: 20px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    color: #666;
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 768px) {
    body {
        padding: 0;
    }

    .site-header-content {
        flex-direction: column;
        padding: 10px;
    }

    .site-logo {
        margin-bottom: 10px;
        align-items: center;
    }

    .site-logo span {
        font-size: 20px;
        margin: 5px 0;
        text-align: center;
    }

    .site-nav {
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
        flex-wrap: wrap;
    }

    .user-greeting {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
        margin-right: 0;
    }

    .container {
        padding: 15px;
        max-width: 100%;
        border-radius: 0;
    }

    .page-header {
        text-align: center;
    }

    .btn {
        margin-left: 0;
        margin-bottom: 5px;
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Footer responsive styles */
    .site-footer-content {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .footer-links {
        margin-bottom: 10px;
    }

    .footer-links a {
        display: block;
        margin: 10px 0;
    }

    /* Table responsive design */
    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        min-height: 30px;
    }

    td:last-child {
        border-bottom: none;
    }

    td:before {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: black;
        text-align: left;
    }

    /* Add labels for each td in mobile view */
    td:nth-of-type(1):before {
        content: "Domenas";
    }

    td:nth-of-type(2):before {
        content: "Pask. statymas";
    }

    td:nth-of-type(3):before {
        content: "Statymai";
        text-align: left;
    }

    td:nth-of-type(4):before {
        content: "Būsena";
        color: black;
    }

    td:nth-of-type(5):before {
        content: "Pradžia";
    }

    td:nth-of-type(6):before {
        content: "Pabaiga";
    }

    td:nth-of-type(7):before {
        content: "Veiksmas";
    }

    /* Ensure text-center is overridden in mobile view */
    .text-center {
        text-align: left;
        padding-right: 0;
    }

    /* Make buttons more tappable */
    .btn {
        display: inline-block;
        padding: 10px 16px;
        margin-top: 5px;
    }

                /* WHOIS History table specific labels */
                .whois-history-table td:nth-of-type(1):before {
                    content: "Data";
                }
        
                .whois-history-table td:nth-of-type(2):before {
                    content: "Whois";
                }
        
                /* Status History table specific labels */
                .status-history-table td:nth-of-type(1):before {
                    content: "Data";
                }
        
                .status-history-table td:nth-of-type(2):before {
                    content: "Būsena";
                }
                
}

/* For very small screens */
@media screen and (max-width: 480px) {
    .container {
        padding: 10px;
    }

    td {
        padding-left: 45%;
    }
}

/* Contact Page Styles */
.contact-info {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #4287f5;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-info p {
    margin: 12px 0;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info strong {
    font-weight: 600;
    color: #333;
    margin-right: 5px;
}

.contact-form {
    margin-top: 30px;
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #4287f5;
    padding-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #4287f5;
    box-shadow: 0 0 0 3px rgba(66, 135, 245, 0.2);
    outline: none;
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #4287f5;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #1565c0;
}

/* Page Content Enhancements */
.page-content {
    padding: 20px 0;
}

.page-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.page-header h2 {
    font-size: 28px;
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Domain Card Styling - For auction listings */
.domain-card {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid #4287f5;
}

.domain-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.domain-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.domain-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item {
    flex: 1;
    min-width: 120px;
}

.info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.info-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.domain-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* Status badges with backgrounds */
.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-active {
    background-color: #e8f5e9;
    /* Changed from blue to green background */
    color: #2e7d32;
    /* Changed from blue to green */
    border: 1px solid #c8e6c9;
}

.status-ending-soon {
    background-color: #fff8e1;
    color: #ff8f00;
    border: 1px solid #ffe082;
}

.status-ended {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.status-starting {
    background-color: #e3f2fd;
    /* Changed from green to blue background */
    color: #1565c0;
    /* Changed from green to blue */
    border: 1px solid #bbdefb;
}

/* Newsletter Styles */
.newsletter-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.newsletter-container h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.newsletter-form-group {
    display: flex;
    max-width: 500px;
    margin-bottom: 15px;
}

.newsletter-form-group input[type="email"] {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 15px;
}

.newsletter-form-group .btn {
    border-radius: 3px;
    margin-left: 8px;
    white-space: nowrap;
}

#subscription-message {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border-radius: 3px;
}

.message-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.message-error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

/* Domain Auction Page Styles */
.domain-info {
    margin-bottom: 30px;
}

.bid-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #4287f5;
}

.bid-history {
    margin-top: 30px;
}

.bid-history h3 {
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #333;
}

.message {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

.success {
    background-color: #dff0d8;
    color: #3c763d;
    border-left: 4px solid #5cb85c;
}

.error {
    background-color: #f83838;
    color: #a94442;
    border-left: 4px solid #d9534f;
}

.auction-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.auction-info p {
    margin: 10px 0;
    line-height: 1.5;
}

.auction-info strong {
    color: #444;
}

.bid-status {
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    text-align: center;
}

.winning {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.losing {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Login Page Styles */
.login-container {
    max-width: 400px;
    margin: 30px auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.login-container .form-group {
    margin-bottom: 20px;
}

.login-container label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #444;
    font-weight: 500;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.login-container input[type="text"]:focus,
.login-container input[type="password"]:focus {
    border-color: #4287f5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 135, 245, 0.1);
}

.login-button {
    background-color: #1565c0;
    color: white;
    border: none;
    padding: 14px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #0d47a1;
}

.info {
    color: #31708f;
    background-color: #d9edf7;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 4px solid #2196F3;
}

.links {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.links a {
    color: #4287f5;
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500;
}

.links a:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: right;
    margin-bottom: 15px;
    font-size: 0.9em;
}

.forgot-password a {
    color: #757575;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
    color: #4287f5;
}

/* Registration Page Styles */
.registration-container {
    max-width: 500px;
    margin: 30px auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.registration-container .form-group {
    margin-bottom: 20px;
}

.registration-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.registration-container input[type="text"],
.registration-container input[type="password"],
.registration-container input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.registration-container input[type="text"]:focus,
.registration-container input[type="password"]:focus,
.registration-container input[type="email"]:focus {
    border-color: #4287f5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 135, 245, 0.1);
}

.checkbox-group {
    margin: 15px 0;
}

.checkbox-group label {
    display: inline;
    margin-left: 8px;
    font-weight: normal;
}

.checkbox-group a {
    color: #4287f5;
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.register-button {
    background-color: #1565c0;
    color: white;
    border: none;
    padding: 14px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.register-button:hover {
    background-color: #0d47a1;
}

/* Password Reset Page Styles */
.reset-password-container {
    max-width: 450px;
    margin: 30px auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reset-password-container .form-group {
    margin-bottom: 20px;
}

.reset-password-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.reset-password-container input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.reset-password-container input[type="email"]:focus {
    border-color: #4287f5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 135, 245, 0.1);
}

.reset-button {
    background-color: #1565c0;
    color: white;
    border: none;
    padding: 14px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    margin-bottom: 20px;
    transition: background-color 0.2s;
}

.reset-button:hover {
    background-color: #0d47a1;
}

/* Mobile responsive styles for bid history */
@media screen and (max-width: 768px) {

    /* Contact page adjustments */
    .contact-info {
        font-size: 16px;
        padding: 15px;
    }

    .contact-info p {
        margin: 10px 0;
    }

    .contact-form {
        padding: 15px;
    }

    .form-title {
        font-size: 20px;
    }

    input[type="text"],
    input[type="email"],
    textarea {
        padding: 10px;
    }

    .submit-btn {
        width: 100%;
        padding: 12px;
    }

    .domain-card {
        padding: 15px;
    }

    .domain-info {
        flex-direction: column;
        gap: 10px;
    }

    .info-item {
        min-width: 100%;
    }

    .domain-actions {
        flex-direction: column;
    }

    .domain-actions .btn {
        width: 100%;
        margin-bottom: 8px;
    }

    /* Table responsive design for bid history */
    .bid-history table,
    .bid-history thead,
    .bid-history tbody,
    .bid-history th,
    .bid-history td,
    .bid-history tr {
        display: block;
    }

    .bid-history thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .bid-history tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }

    .bid-history td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        min-height: 30px;
    }

    .bid-history td:last-child {
        border-bottom: none;
    }

    .bid-history td:before {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        color: black;
        text-align: left;
    }

    /* Add labels for each td in mobile view */
    .bid-history td:nth-of-type(1):before {
        content: "Dalyvis";
    }

    .bid-history td:nth-of-type(2):before {
        content: "Dydis";
    }

    .bid-history td:nth-of-type(3):before {
        content: "Laikas";
    }

    /* Form improvements for mobile */
    .form-group input {
        padding: 12px 8px;
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    /* Optimize auction info section for mobile */
    .auction-info p {
        margin: 8px 0;
    }

    /* Login page responsive adjustments */
    .login-container {
        padding: 20px 15px;
        width: 90%;
    }

    .login-button {
        padding: 14px 15px;
        font-size: 16px;
    }
}



/* For very small screens */
@media screen and (max-width: 480px) {
    .page-header h2 {
        font-size: 22px;
    }

    .contact-info {
        padding: 12px;
    }

    .contact-form {
        padding: 12px;
    }

    .newsletter-form-group {
        flex-direction: column;
    }

    .newsletter-form-group input[type="email"] {
        margin-bottom: 10px;
    }

    .newsletter-form-group .btn {
        margin-left: 0;
        width: 100%;
    }

    .bid-section {
        padding: 15px;
    }

    .auction-info {
        padding: 15px;
    }
}

/* Account Settings Styles */
.account-settings-container {
    max-width: 500px;
    margin: 30px auto;
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.account-settings-container h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

.account-settings-container .form-group {
    margin-bottom: 20px;
}

.account-settings-container p {
    margin: 8px 0;
    line-height: 1.5;
    color: #444;
}

/* Checkbox styling - matches your existing form elements */
.account-settings-container input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.account-settings-container label {
    display: inline;
    font-weight: normal;
    color: #444;
}

/* Notification messages - using your existing class styles */
.success {
    padding: 12px 15px;
    margin-bottom: 20px;
    background-color: #dff0d8;
    color: #3c763d;
    border-radius: 4px;
    border-left: 4px solid #5cb85c;
}

.error {
    padding: 12px 15px;
    margin-bottom: 20px;
    background-color: #f83838;
    color: #a94442;
    border-radius: 4px;
    border-left: 4px solid #d9534f;
}

.info {
    padding: 12px 15px;
    margin-bottom: 20px;
    background-color: #d9edf7;
    color: #31708f;
    border-radius: 4px;
    border-left: 4px solid #2196F3;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
    .account-settings-container {
        padding: 20px 15px;
        width: 90%;
    }
    
    .account-settings-container button[type="submit"] {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .account-settings-container {
        padding: 15px;
    }
    
    .account-settings-container h3 {
        font-size: 16px;
    }
}

/* Add this CSS at the end of your styles.css file */

/* Custom styles for the special tables in domain_information.php */
@media screen and (max-width: 768px) {

    /* Override mobile labels for WHOIS history table */
    .whois-history-table td:nth-of-type(1):before {
        content: "Data" !important;
    }

    .whois-history-table td:nth-of-type(2):before {
        content: "Whois" !important;
    }

    /* Override mobile labels for Status history table */
    .status-history-table td:nth-of-type(1):before {
        content: "Data" !important;
    }

    .status-history-table td:nth-of-type(2):before {
        content: "Būsena" !important;
    }
}

/* Add these styles to your main CSS file */

/* Add these styles to your main CSS file */

/* Admin auction list styles */
.admin-auctions {
    margin-top: 30px;
    margin-bottom: 30px;
}

.auctions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.auctions-table th,
.auctions-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.auctions-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.auctions-table tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-danger {
    background-color: #d9534f;
    color: white;
}

.btn-danger:hover {
    background-color: #c9302c;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.9em;
}

.disabled-edit-btn {
    color: #999;
    font-style: italic;
    font-size: 0.9em;
}

/* Auction form styles */
.auction-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8);
}

.form-help {
    font-size: 0.9em;
    color: #999;
    margin-top: 5px;
}

.current-date {
    font-size: 0.9em;
    color: #4a90e2;
    margin-top: 5px;
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Success, info and error message styles */
.success {
    background-color: #009900;
    color: #fff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.info {
    background-color: rgba(33, 150, 243, 0.3);
    color: #fff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.error {
    background-color: #f35050;
    color: #fff;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
}

/* Add this to your existing <style> section */
@media screen and (min-width: 769px) {
    .mobile-label {
        display: none;
    }
}

/* Mobile styles for the metrics table */
/* Add these styles to your styles.css file */

/* Exception for metrics table to maintain desktop appearance on mobile */
@media screen and (max-width: 768px) {

    /* Reset the table display properties for metrics-table */
    .metrics-table,
    .metrics-table thead,
    .metrics-table tbody,
    .metrics-table th,
    .metrics-table td,
    .metrics-table tr {
        display: table;
        width: 100%;
    }

    .metrics-table tr {
        display: table-row;
        margin-bottom: 0;
        border: none;
    }

    .metrics-table td {
        display: table-cell;
        border-bottom: 1px solid #ddd;
        position: static;
        padding-left: 8px;
        min-height: auto;
        text-align: left;
    }

    /* Hide the pseudo-elements (labels) */
    .metrics-table td:before {
        content: none !important;
    }

    /* Make table cells take up appropriate width */
    .metrics-table td:first-child {
        width: 40%;
    }

    .metrics-table td:last-child {
        width: 60%;
    }

    /* Ensure padding is appropriate */
    .metrics-table td {
        padding: 8px;
    }
}

