﻿#wrapper .header {
    background-color: #2a2d33;
    padding: 10px 0;
    margin-bottom: 40px;
}

#wrapper .header .RadMenu {
    margin: 10px 0;
    float: none;
}

#wrapper .logo {
    margin: 10px 0;
    width: 100%;
    display: inline-block;
}

#wrapper .logo img {
    max-width: 100%;
}

#wrapper .jumbotron {
    padding: 1.875em;
    padding-top: 1em;
    background-color: #e9eaea;
}

#wrapper .jumbotron .RadButton {
    float: right;
    margin-top: .667em;
    font-size: .5em;
}

#wrapper .footer {
    width:100%;
    padding: 30px 15px;
    line-height: 30px;
}


body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

.login-form {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

    .login-form h2 {
        margin-bottom: 20px;
        text-align: center;
    }

    .login-form input[type="text"], .login-form input[type="password"] {
        width: calc(100% - 20px);
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .login-form button {
        width: 100%;
        padding: 10px;
        background-color: #007bff;
        border: none;
        border-radius: 5px;
        color: white;
        font-size: 18px;
        cursor: pointer;
    }

        .login-form button:hover {
            background-color: #0056b3;
        }

.messagePanel {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
    text-align: center;
}

/* Basic styling */
.GridViewFacturas {
    width: 100%;
    max-width: 100%;
    margin: auto;
    border-collapse: collapse;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

    .GridViewFacturas th, .GridViewFacturas td {
        text-align: left;
        padding: 12px;
        border: 1px solid #ccc;
    }

    /* Header styling */
    .GridViewFacturas th {
        background-color: #007bff;
        color: #ffffff;
    }

    /* Zebra striping for rows */
    .GridViewFacturas tr:nth-child(odd) {
        background-color: #f2f2f2;
    }

    .GridViewFacturas tr:hover {
        background-color: #ddd;
    }

/* Responsive design adjustments */
@media (max-width: 600px) {
    .GridViewFacturas, .GridViewFacturas thead, .GridViewFacturas tbody, .GridViewFacturas th, .GridViewFacturas td, .GridViewFacturas tr {
        display: block;
    }

        .GridViewFacturas thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

        .GridViewFacturas tr {
            border: 1px solid #ccc;
        }

        .GridViewFacturas td {
            /* Behave like a "row" */
            border: none;
            border-bottom: 1px solid #eee;
            position: relative;
            padding-left: 50%;
            text-align: right;
        }

            .GridViewFacturas td:before {
                /* Now like a table header */
                position: absolute;
                /* Top/left values mimic padding */
                top: 6px;
                left: 6px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                text-align: left;
                font-weight: bold;
            }

            /* Label the data */
            .GridViewFacturas td:before {
                content: attr(data-title);
            }
}