th {
    background-color: #ff0000 !important;
    color: #fff !important;
    cursor: pointer !important;
    text-align: center !important;
}

.grades-table td {
    background-color: #252525 !important;
}

.grades-table tr:nth-child(even) td {
    background-color: #4d4d4d !important;
}
.success-message {
    color: black !important;
}
td {
    padding: 15px !important;
    text-align: center !important;
    border-bottom: 1px solid #ddd !important;
    transition: background-color 0.3s ease !important, color 0.3s ease !important;
    color: #ffffff !important;
}

    .container {
    }
    @media (max-width: 768px) {
  .container {
    margin-top: 60px !important;
  }
}

    .main-content {
        margin-top: 0;
        display: grid;
        place-items: center;
        grid-auto-rows: minmax(150px, auto);
        gap: 15px;
        padding-bottom: 20px;
    }

    .main-content h1 {
        font-size: 1.8rem;
        color: #2c3e50;
        text-align: center;
        margin: 20px 0;
        line-height: 1.4;
        font-weight: bold;
    }
    
.form-container {
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    background: #343434;
    box-shadow: 0 28px 30px rgb(16 16 16 / 87%);
}
    
.form-container input[type="text"] {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ffffff;
    outline: none;
    font-size: 16px;
    background-color: #ffffff;
    color: #333;
    direction: rtl;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}
    
    .form-container input[type="text"]:focus {
        border-color: #a30707;
        box-shadow: 0 0 0 3px rgb(63 61 61);
    }
    
.form-container input[type="submit"] {
    width: 100%;
    padding: 9px;
    border: none;
    background-color: #ff3131;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}
    
.form-container input[type="submit"]:hover {
    background-color: #000;
    transform: translateY(-2px);
}
    
.result-container {
    width: 100%;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    direction: rtl;
    overflow-x: auto;
}

    .result-container table {
        border-collapse: collapse;
        width: 100%;
        font-weight: bold;
    }
table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 0px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    direction: rtl !important;
    background-color: #2c2c2c !important;
}
.black-text * {
    color: #000 !important;
}


    .result-container th {
        background-color: #a30707;
        color: white;
        font-weight: bold;
    }

    .result-container tr:nth-child(even) {
        background-color: #f9f9f9;
    }
    
    .buttons-containers {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
        margin: 20px 0;
        width: 100%;
    }
    
.btns {
    margin: 0;
    background-color: #292929;
    color: white;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
}
    
    .btns:hover {
        background-color: #8a0606;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    .btns.active {
        background-color: #5a0404;
        box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    }
    
    .btns i {
        font-size: 16px;
    }
    
.alert-message {
    padding: 16px;
    background-color: #1a1a1a;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
}
	
.alert-messages {
    width: 100%;
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-weight: bold;
}
    
    .alert-message b {
        font-weight: 700;
        color: #a30707;
    }
    
.gov-title {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    margin: 15px 0;
    font-size: 1.5rem;
}
    
    @media (max-width: 768px) {
        .main-content h1 {
            font-size: 1.5rem;
        }
        
        .buttons-containers {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .form-container {
        }
    }
    
    @media (max-width: 480px) {
        .buttons-containers {
            grid-template-columns: 1fr;
        }
        
        .main-content h1 {
            font-size: 1.3rem;
        }
        
        .alert-message {
            font-size: 8px;
        }
    }
	h2 {
    font-weight: bold !important;
}





.banner-container {
    position: relative;
    width: 100%;
    height: 144px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.center-logo {
    position: relative;
    z-index: 2;
    height: 145px;
}