main{
    background: url(../media/coransbackground.jpg) no-repeat center center;
     background-size: cover;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    justify-content: center;
    padding: 2em;
}

main h1{
    color: #fff;
}

h3{
    text-align: center;
}

.main__container{
    height: auto;
    width: 70vw;
    display: flex;
    flex-direction: column;
    padding: 2em;
    background-color: #fff;
    border-radius: 28px;
    box-shadow: 0.5em 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.1);
}

.main__register{
    display: flex;
    flex-direction: column;
    gap: 2em;
    align-items: center;
    text-align: center;
}

.main__register__title h1{
    font-size: 3em;
}

.main__register__title h2{
    font-size: 2em;
}

.main__register p{
    font-size: 1.2em;
}

.main__register img{
    margin: 0 auto;
    height: 20em;
}

resaltado{
    color: #2F67F4;
}

#registerForm_open{
    border: none;
    border-radius: 28px;
    background-color: #2F67F4;
    padding: 1em;
    font-size: 1em;
    color: #fff;
    cursor: pointer;
    box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.1);
}

.main__register h4{
    font-size: 2em;
}

#btn_open_modal_login{
    align-self: center;
    width: 30%;
    border: none;
    border-radius: 28px;
    background-color: #2F67F4;
    padding: 1em;
    font-size: 1em;
    color: #fff;
    cursor: pointer;
    box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.1);
}

#modal_register{
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

#registerForm_submit{
    align-self: center;
    width: 70%;
    border: none;
    border-radius: 28px;
    background-color: #2F67F4;
    padding: 1em;
    font-size: 1em;
    color: #fff;
    cursor: pointer;
    box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.1);
}


#registerForm_close{
    position: absolute;
        top: 0;
        right: 0;
        margin: 1em;
        color: #333;
        background-color: transparent;
        padding: 0;
        width: 2em;
        height: 2em;
        border: none;
        cursor: pointer;
        font-size: 1em;
        border-radius: 50%;
        transition: all 0.3s;
}

#registerForm_close:hover{
    background-color: #e91e1e;
    color: #fff;
    box-shadow: 0.5em 0.5em 0.5em rgba(0, 0, 0, 0.1);
}

.registerForm__warnings{
    color: #e91e1e;
    padding: 10px;
}



/* CUSTOMER INTERFACE */

main{
    height: auto;
    width: 100%;
}

.main__contenedor{
    height: auto;
    width: 100%;
    background-color: #fff;
    border-radius: 28px;
    padding: 2em;
    display: flex;
    flex-direction: row;
    gap: 2em;
}

.side__ticket__section {
    width: 23%;
    background-color: #eee;
    padding: 1em;
    border-radius: 28px;
}

.filters{
    margin-top: 30px;
}

.filters h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
}

select,
input[type="date"] {
    width: 100%;
    padding: 10px;
    border-radius: 28px;
    border: none;
    outline: none;
    box-sizing: border-box;
    font-size: 1em;
    margin-top: 5px;
}

.btn {
    display: inline-block;
    padding: 1em;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
    width: 100%;
    text-align: center;
}

.btn:hover {
    background-color: #0056b3;
}



.main__ticket__section{
    width: 77%;
    padding: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 28px;
    overflow: hidden;
    
}

.tickets-table th, .tickets-table td {
    padding: 15px;
    border-bottom: 1px solid #ccc;
}

.tickets-table th {
    background-color: #007bff;
    text-align: left;
    color: #fff;
}

.tickets-table td {
    padding: 10px;
}

.tickets-table img {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 5px;
}

.pagination{
    background-color: #eee;
    width: fit-content;
    margin-top: 50px;
}

.pagination .pagination__btn{
    background-color: #007bff;
    color: #fff;
    border-radius: 28px;
    text-decoration: none;
    padding: 12px;
    transition: .3s all;
}

.pagination .pagination__btn:hover{
    background-color: #0056b3;
}

#petition_actions button{
    border: none;

}

#petition_actions_accept{
    text-decoration: none;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em;
    background-color: #57B056;
    border-radius: 7px;
    transition: .3s ease all;
}

#petition_actions_accept:hover{
    background-color: #448842;
}

#petition_actions_reject{
    text-decoration: none;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em;
    background-color: #D54B48;
    border-radius: 7px;
    transition: .3s ease all;
}

#petition_actions_reject:hover{
    background-color: #99312f;
}

#petition_actions_delete{
    text-decoration: none;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em;
    background-color: #EAA435;
    border-radius: 7px;
    transition: .3s ease all;
}

#petition_actions_delete:hover{
    background-color: #c98c2a;
}

/* dynamic status */

.admin_status_dynamic_display{
    padding: 0.5em;
    border-radius: 7px;
    color: #fff;
    display: flex;
    width: fit-content;
}

/* contact messages */

#contact_messages_delete{
    text-decoration: none;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em;
    background-color: #D54B48;
    border-radius: 7px;
    transition: .3s ease all;
}

#contact_messages_delete:hover{
    background-color: #99312f;
}

#contact_messages_view{
    text-decoration: none;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em;
    background-color: #007bff;
    border-radius: 7px;
    transition: .3s ease all;
}

#contact_messages_view:hover{
    background-color: #0056b3;
}

#admin_users_view{
    text-decoration: none;
    color: #fff;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2em;
    background-color: #007bff;
    border-radius: 7px;
    transition: .3s ease all;
}

#admin_users_view:hover{
    background-color: #0056b3;
}

/*responsive*/
@media screen and (max-width: 1080px){
    main {
        padding: 1em;
    }

    .main__contenedor {
        padding: 1em;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .side__ticket__section {
        width: 100%;
        height: auto;
    }

    .filters {
        display: flex;
        margin: 0;
        flex-direction: column;
        margin-top: 15px;
    }

    .filters form {
        display: flex;
        flex-direction: column;
        text-align: center;
        flex-wrap: wrap;
        gap: 0.5em;
    }

    .filters button {
        align-self: center;
        width: 60%;
    }

    .filters a {
        width: 60%;
        align-self: center;
    }

    .main__ticket__section {
        width: 100%;
        padding: 0.5em;
        gap: 1em;
    }

    .tickets-table {
        width: 100%;
        font-size: 18px;
        border: none;
        display: flex;
        flex-direction: column;
    }

    .tickets-table thead{
        margin-bottom: 50px;
    }

    .tickets-table tbody{
        display: flex;
        flex-direction: column;
        gap: 2em;
    }

    .tickets-table th {
        display: block;
        width: 100%;
        padding: 10px;
        text-align: left;
        border-bottom: 1px solid #ccc;
    }

    .tickets-table th {
        background-color: transparent;
        color: #333;
        font-weight: bold;
    }

    .tickets-table td {
        padding: 10px;
        background-color: #f9f9f9;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .tickets-table tr {
        display: flex;
        flex-direction: column;
        text-align: left;
        gap: 0;
    }


    .tickets-table th, .tickets-table td:before {
        content: attr(data-label);
        font-weight: bold;
        width: 100%;
        display: flex;
        color: #333;
    }

    .tickets-table tbody tr{
        background-color: #eee;
        border-radius: 20px;
        
    }

    .tickets-table tbody tr td{
        background-color: #eee;
        border-bottom: none;
        border-radius: 20px;
    }

    .pagination{
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5em;
        padding: 1em;
        border-radius: 20px;

    }




}