﻿.header {
    background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
    color: white;
    text-align: center;
    padding: 25px;
}

    .header h2 {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .header p {
        font-size: 14px;
        opacity: 0.9;
    }

.form-container {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .form-group input, .form-group select {
        width: 100%;
        padding: 15px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-size: 16px;
        transition: border 0.3s;
    }

        .form-group input:focus, .form-group select:focus {
            border-color: #6a11cb;
            outline: none;
        }

.submit-btn {
    background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
    }

@media (max-width: 576px) {
    .container {
        border-radius: 10px;
    }
}

#grade > option {
    direction: rtl;
}

@media only screen and (min-width: 768px) {
    .form-sec {
    }
}

.form-sec {
    margin: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

@media only screen and (max-width: 768px) {
    .searchBox {
        display: none;
    }
}

.elegant-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 700px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .elegant-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }

.box-title {
    text-align: center;
    color: #5e35b1;
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

    .box-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 30%;
        right: 30%;
        height: 3px;
        background: linear-gradient(90deg, #5e35b1, #9575cd, #5e35b1);
        border-radius: 3px;
    }

.paragraph {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border-right: 4px solid #5e35b1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .paragraph:hover {
        transform: translateX(5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .paragraph p {
        color: #37474f;
        font-size: 16px;
        line-height: 1.8;
        text-align: justify;
    }

    .paragraph:nth-child(even) {
        border-right: 4px solid #ff6e40;
    }

    .paragraph:last-child {
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .elegant-box {
        padding: 25px;
    }

    .box-title {
        font-size: 24px;
    }

    .paragraph {
        padding: 15px;
    }
}

.info-section {
    margin: 16px;
    /* border: 3px dotted #365df0; */
}



.grade-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 12px;
    width: 160px;
    box-sizing: border-box;
    flex: 1;
    background: transparent;
    border: 2px solid gray;
    border-radius: 36px;
    margin-left: 5px;
    margin-right: 5px;
    height: 180px;
    transition: border-radius 0.2s, box-shadow 0.2s;
}

    .grade-item:hover {
        border-radius: 4px;
        box-shadow: 1px 1px 18px;
    }

.grade-item-selected {
    border: 3px solid black;
    box-shadow: 2px 0 8px green;
}

.grade-item-texts {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.grade-item-title {
    color: purple;
    /*font-size: xxx-large;*/
    /*margin-top: 20px;*/
    font-size: 60px;
}

.grade-item-name {
    font-weight: 700;
    font-size: 15px;
}

.grade-item-subtitle {
    font-size: 13px;
    opacity: 0.9;
}



div.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

div.row {
    margin-right: -15px;
    margin-left: -15px;
}

div.exam-box {
    border: 1px solid #f5c9c9;
    border-radius: 5px;
    margin-bottom: 20px;
}

    div.exam-box .main-box {
        border-bottom: 1px solid #f5c9c9;
        display: inline-block;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        div.exam-box .main-box .tlt-box {
            text-align: center;
            padding: 8px 0 8px 0;
            display: inline-block;
            width: 28%;
            background-color: #24a5c2;
            font-size: 14px;
            font-weight: bold;
            color: #dfdfdf;
            position: relative;
        }

            div.exam-box .main-box .tlt-box::after {
                content: '';
                position: absolute;
                left: -36px;
                top: 0px;
                width: 0;
                height: 0;
                border-left: 18px solid transparent;
                border-right: 18px solid #24a5c2;
                border-top: 18px solid transparent;
                border-bottom: 18px solid transparent;
                clear: both;
            }

        div.exam-box .main-box .txt-box {
            text-align: center;
            padding: 10px;
            display: inline-block;
            width: 70%;
        }

/*div.col-md-12 {
    min-height: 20px;
    line-height: 20px;
    text-align: center;
    background-color: #fff;
    color: #000;
    text-align: center;
    margin-top: 50px;
    padding: 0px;
}*/

.btn {
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    outline: 0;
    white-space: nowrap;
    margin-bottom: 6px;
}

.btn-warning {
    margin: 2px 2px;
}

.input-field::placeholder {
    color: #c8c8c8;
    font-size: 11px;
    text-align: center;
    padding-right: 40px;
}

.input-label {
    position: absolute;
    display: inline-block;
    line-height: 22px;
    outline: none;
}

    .input-label i::before {
        position: absolute;
        left: 61px;
        top: 0;
        color: #929292;
        font-size: 26px;
    }

.form-account-row {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 650px) {
    .nav-item-f {
        margin-top: 10px;
    }
}

.container {
    text-align: center !important;
}

.registration-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.registration-box {
    width: 100%;
    /* background: linear-gradient(135deg, #d5baf2 0%, #ce71a5 100%); */
    border-radius: 15px;
    /* box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); */
    text-align: center;
    padding: 60px 30px;
    color: white;
}

.submit-btn {
    width: 100%;
}


.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}

.ds-imd {
    margin-bottom: 10px;
}