/* Orders------------ */

.applications{
    display:flex;
    margin:1rem;
}

.tableType{
    display:flex;
    width:100%;
    background-color: whitesmoke;

}

.tableType a{
    width:50%;
    display: block;
    color:gray;
    font-weight: 600;
    text-decoration: none;
    padding:1rem;
    border-bottom: none;

}
.applicationChild1{

    max-width:45ch;
    width:100vw;
    height:75vh;
    overflow-y: scroll;
    border: 2px solid whitesmoke;
    margin:.5rem;
    

}
#table_id_wrapper{
    margin:1rem;
}
.applicationChild2{
    padding:1rem;
}
.applicationGrandChild{
    border-bottom: none;
    border-collapse: collapse;
    margin:1rem auto;
    width:95%;
    background-color: white;


}


.applicationGrandChild td{

    padding:.5rem;
    margin:.5rem;
    border-bottom: 2px solid rgb(216, 216, 216);
    cursor:pointer;
    transition:.2s;
}
.selectedOrder{
    background-color: whitesmoke;
}
.applicationGrandChild td:hover{
    background-color: whitesmoke;
}

.applicationGrandChildName{

    text-align: center;
    color:var(--logoBlue);
    font-weight: 600;
}
.applicationGrandChildTime{
  
    display:flex;
    justify-content: space-between;
    color:gray;
}
.applicationGrandChildTime span{
    margin:0;
}
.applicationChild2{
    width:65ch;
    height:75vh;
    overflow-y: scroll;
}

.orderInfo{
    margin:3rem 1rem;
    font-size: 18px;
    box-shadow: var(--boxShadow);
    width:fit-content;
}
.applicationChild2 .orderInfo{
    margin:1rem auto;
    width:100%;
    box-shadow: none;
}
.orderInfo th{
    background-color: var(--logoBlue);
    color:white;
    padding:1rem;
}

.orderInfo td{
    padding:.5rem 1rem;
    color:black;
}

.orderInfo tr:nth-child(even){
    background-color: whitesmoke;
}

/*  ------------------*/


/* Enhanced Admin Page Styling */
.adminPage {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 0;
    padding-top: 80px; /* Account for fixed header */
    position: relative;
    z-index: 1;
}

.adminPage ul {
    background: linear-gradient(90deg, var(--logoBlue), #1e3c72);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 15px 15px;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style: none;
    position: relative;
    z-index: 3; /* Above the main header */
}

.adminPage ul li {
    padding: 1rem;
    margin: 0;
}

.adminPage ul li a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px;
    padding: 12px 16px;
    position: relative;
    overflow: hidden;
}

.adminPage ul li a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.adminPage .highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.adminPage ul li .logout {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    transition: all 0.3s ease;
    padding: .5rem 1rem;
    border-radius: .5rem;
}

.adminPage ul li .logout:hover {
    background: linear-gradient(45deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231,76,60,0.4);
}

.adminPage .mainContent {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px;
    padding: 30px;
    min-height: 70vh;
    flex-grow: 2;
    height: 100%;
    overflow-x: hidden;
    width: calc(100% - 40px);
    max-width: 120ch;
    position: relative;
    z-index: 2;
}
/* Enhanced Data Tables Styling */
.users table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    width: 100%;
}

.users table thead {
    background: linear-gradient(90deg, var(--logoBlue), #1e3c72);
    color: white;
}

.users table thead th {
    padding: 15px 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 12px;
}

.users table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.users table tbody tr:hover {
    background: linear-gradient(90deg, #f8f9fa, #e9ecef);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.users table tbody td {
    padding: 12px;
    vertical-align: middle;
}

/* Action Buttons */
.editLogo, .deleteLogo, .hideLogo, .showLogo {
    font-size: 16px;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 3px;
    display: inline-block;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 19px;
}

.editLogo {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.editLogo:hover {
    background: linear-gradient(45deg, #2980b9, #1f618d);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(52,152,219,0.3);
}

.deleteLogo {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
}

.deleteLogo:hover {
    background: linear-gradient(45deg, #c0392b, #a93226);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(231,76,60,0.3);
}

.hideLogo {
    background: linear-gradient(45deg, #27ae60, #229954);
    color: white;
}

.hideLogo:hover {
    background: linear-gradient(45deg, #229954, #1e8449);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(39,174,96,0.3);
}

.showLogo {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
    color: white;
}

.showLogo:hover {
    background: linear-gradient(45deg, #7f8c8d, #6c7b7d);
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(149,165,166,0.3);
}

/* New Entry Button */
.newEntry, .newUser {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39,174,96,0.3);
    margin-bottom: 20px;
}

.newEntry:hover, .newUser:hover {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39,174,96,0.4);
}

/* Form Styling */
.newUserForm, .editTextArea {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.newUserForm fieldset, .editTextArea fieldset {
    border: none;
    padding: 0;
}

.newUserForm legend, .editTextArea legend {
    background: linear-gradient(90deg, var(--logoBlue), #1e3c72);
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    display: inline-block;
}

/* Input Styling */
.newUserForm input, .newUserForm select, .newUserForm textarea,
.editTextArea input, .editTextArea select, .editTextArea textarea {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 15px;
}

.newUserForm input:focus, .newUserForm select:focus, .newUserForm textarea:focus,
.editTextArea input:focus, .editTextArea select:focus, .editTextArea textarea:focus {
    border-color: var(--logoBlue);
    box-shadow: 0 0 0 3px rgba(8,106,176,0.1);
    outline: none;
}

/* Radio Button Styling */
.adminRadio {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.adminRadio label {
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.adminRadio input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--logoBlue);
}

/* Submit Button */
.newUserForm input[type="submit"], .editTextArea input[type="submit"] {
    background: linear-gradient(45deg, var(--logoBlue), #1e3c72);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    margin: 20px auto;
    display: block;
}

.newUserForm input[type="submit"]:hover, .editTextArea input[type="submit"]:hover {
    background: linear-gradient(45deg, #1e3c72, var(--logoBlue));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8,106,176,0.4);
}

/* Back Button */
.backButton {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 20px;
}

.backButton:hover {
    background: linear-gradient(45deg, #495057, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108,117,125,0.3);
    color: white;
    text-decoration: none;
}

.dataTables_wrapper{
    overflow-x: scroll;
}

/* ------------------ */
