﻿h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, .h1 a, .h2 a, .h3 a, .h4 a, .h5 a, .h6 a {
    font-family: 'hacenmaghreblt', sans-serif !important;
}
.custom-radio {
    position: relative;
    padding-right: 30px;
    cursor: pointer;
    font-size: 16px;
    display: inline-block;
    user-select: none;
}
p {
    font-family: 'hacenmaghreblt', sans-serif !important;
}

    .custom-radio input[type="radio"] {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .custom-radio .checkmark {
        position: absolute;
        top: 2px;
        right: 0;
        height: 22px;
        width: 22px;
        background-color: white;
        border: 2px solid #0dbbc3;
        border-radius: 50%;
    }

    .custom-radio input[type="radio"]:checked ~ .checkmark::after {
        content: "✓";
        position: absolute;
        color: #0dbbc3;
        font-size: 14px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.is-valid {
    border-color: #28a745;
    padding-right: 2.25rem; /* يترك مساحة للنص بجانب الأيقونة */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2328a745' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 1.929a.75.75 0 010 1.06L6.56 9.914a.75.75 0 01-1.06 0L2.515 6.93a.75.75 0 111.06-1.06l2.394 2.393 6.865-6.866a.75.75 0 011.06 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25em 1.25em;
}

img.country-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

@font-face {
    font-family: 'hacenmaghreblt';
    src: url('../../fonts/hacenmaghreblt.woff2') format('woff2'), url('../../fonts/hacenmaghreblt.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.mt-5.p-3.rounded {
    background-color: #f0fdff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    max-width: 1000px;
    margin: -60px auto 2rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .mt-5.p-3.rounded {
        background-color: #f0fdff;
        display: flex;
        align-items: center;
        flex-wrap: wrap !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}


:root {
    --primary-color: #0e5c62;
    --secondary-color: #1dacb3;
    --text-color: #333;
    --light-color: #f8f9fa;
    --form-bg: #ffffff;
    --blue-accent: #17a2b8;
    --border-color: #e2e2e2;
}

body {
    font-family: 'hacenmaghreblt', sans-serif !important;
    background-color: #f5f5f5;
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

btn-primary2 {
    height: 60px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 13px;
    padding-bottom: 13px;
    background: #0DBBC3;
    overflow: hidden;
    border-radius: 50px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    display: inline-flex
}
/* Header Section */
.header-section {
    background: radial-gradient(ellipse 46.86% 57.78% at 49.96% 43.10%, rgba(4.60, 81.38, 97.84, 0.90) 0%, #034958 84%);
    /*background-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cdefs%3E%3Cpattern id='pattern' width='40' height='40' viewBox='0 0 40 40' patternUnits='userSpaceOnUse' patternTransform='rotate(45)'%3E%3Crect width='100%25' height='100%25' fill='%23107076'/%3E%3Cpath d='M0 20 L40 20 M20 0 L20 40' stroke='%230b5c62' stroke-width='1' fill='none'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23pattern)'/%3E%3C/svg%3E");*/
    color: white;
    padding: 4rem 1rem;
    /*border-radius: 0 0 15px 15px;*/
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

    .header-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
        opacity: 0.1;
        z-index: 1;
    }

.header-content {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 50px !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    color: #fff !important;
    font-family: 'hacenmaghreblt', sans-serif !important;
}

.sub-title {
    font-size: 1.8rem !important;
    opacity: 0.9;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.6;
    text-align: center !important;
    font-family: 'hacenmaghreblt', sans-serif !important;
}

/* Form Container */
.form-container {
    max-width: 1000px;
    margin: -138px auto 2rem;
    position: relative;
    z-index: 10;
}

.form-card {
    background-color: var(--form-bg);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

/* Form Elements */
.form-label {
    color: #034452;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    word-wrap: break-word;
    font-family: 'hacenmaghreblt', sans-serif !important;
}

.form-control {
    padding: 0.8rem 1.2rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    font-size: 1.7rem !important;
    transition: all 0.3s ease;
    text-align: right;
    color: #034958 !important;
    height  : 50px !important;
}

    .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.25rem rgba(29, 172, 179, 0.1);
    }

/* Country Code */
.country-code {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 10px 0 0 10px;
    padding: 0 15px;
    border-right: none;
    height: 100%;
}

.country-flag {
    margin-right: 6px;
}

.code-number {
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

/* Category Tabs */

/* University Tabs */
.university-tabs {
    margin-top: 12px;
}

.uni-tab {
    width: 100%;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

    .uni-tab.active {
        background-color: var(--blue-accent);
        color: white;
        border-color: var(--blue-accent);
        box-shadow: 0 4px 10px rgba(23, 162, 184, 0.2);
    }

/* Calculate Button */
.calculate-btn-container {
    margin-top: 2.5rem;
}

.btn-primary {
    background-color: var(--blue-accent);
    border-color: var(--blue-accent);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.2);
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: #138496;
        border-color: #138496;
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(23, 162, 184, 0.25);
    }

/* Result Section */
.result-section {
    background-color: #f0fafc;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(23, 162, 184, 0.1);
}

.result-container {
    padding: 1.8rem;
}

.result-text {
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.05rem;
    line-height: 1.5;
}

.country-code {
    padding: 1.1rem 1rem !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    margin-right: 10px !important;
}

.completion-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    background-color: rgba(23, 162, 184, 0.05);
    padding: 1rem;
    border-radius: 10px;
}

    .completion-status i {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

.percentage {
    font-size: 1.4rem;
    font-weight: 800;
    margin-top: 5px;
    color: var(--blue-accent);
}

.download-section {
    margin-top: 20px;
}

.btn-outline-primary {
    color: var(--blue-accent);
    border-color: var(--blue-accent);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
}

    .btn-outline-primary:hover {
        background-color: var(--blue-accent);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(23, 162, 184, 0.15);
    }

/* Alert Styling */
.alert {
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: opacity 0.3s ease;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.alert-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}

/* Spinner Styling */
.spinner-border-sm {
    margin-left: 8px;
}

/* Form Validation */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25) !important;
  /*  background-color: #dc3545;
    color : #ffffff !important;*/
}

/* Ripple Effect for Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Tab Transition Animation */
.tab-transitioning {
    transition: all 0.3s ease;
    transform: scale(1.05);
}

/* Button Disabled Style */
.scroll-btn.disabled {
    cursor: not-allowed;
    background-color: #f5f5f5;
}

/* Responsive Styles */
@media (max-width: 768px) {

    mt-5.p-3.rounded {
        background-color: #f0fdff;
        display: flex;
        align-items: center;
        flex-wrap: wrap !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .header-content {
        max-width: 100%;
    }

    .main-title {
        font-size: 2rem;
    }

    .sub-title {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .form-card, .result-container {
        padding: 1.8rem;
    }

    .result-section .row {
        flex-direction: column;
    }

    .completion-status {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .tabs-wrapper {
        padding: 0 20px;
    }

    .tab-item {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    .category-tabs .row {
        flex-direction: column;
    }

    .uni-tab {
        margin-bottom: 10px;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}


/*////الصورة*/

.rating-wrapper {
    position: relative;
    display: inline-block;
}

.rating-img {
    max-width: 100%;
    height: auto;
    display: block;
}

.rating-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 2;
    background: unset;
}

.right-box {
    right: -61px;
}

.left-box {
    left: -10px;
}

.rating-content {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #A0F1FE;
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 13px;
    color: #034452;
    font-family: 'hacenmaghreblt', sans-serif !important;
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
}

.arrow {
    width: 15px;
    height: 16px;
    background: #A0F1FE;
    border-radius: 2px;
    transform: rotate(135deg);
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
}

.left-box .arrow {
    right: -8px;
    left: auto;
}

/* موبايل وتابلت */
@media (max-width: 768px) {
    .right-box {
        right: -40px;
    }

    .left-box {
        left: -40px;
    }

    .rating-content {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 8px;
    }

    .arrow {
        width: 10px;
        height: 10px;
    }
}

/* شاشات أصغر جدًا */
@media (max-width: 480px) {
    .right-box {
        right: -12px;
    }

    .left-box {
        left: 20px;
    }

    .rating-content {
        padding: 3px 6px;
        font-size: 10px;
        border-radius: 6px;
    }

    .arrow {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .rating-box span {
        padding: 3px 6px;
        font-size: 10px !important;
        border-radius: 6px;
    }
}

/*الفورمة*/

.custom-btn {
    height: 60px;
    padding: 13px 20px;
    background: #0DBBC3;
    overflow: hidden;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: none;
    font-family: 'hacenmaghreblt', sans-serif !important;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

    .custom-btn:hover {
        background: #0AA8A1; /* لون عند التحويم */
    }

    .custom-btn:focus {
        outline: none;
    }

    .custom-btn .btn-text {
        text-align: right;
        color: #ffffff;
        font-size: 15px;
        font-family: 'hacenmaghreblt', sans-serif !important;
        font-weight: 400;
        line-height: 23px;
        word-wrap: break-word;
    }
/*
    الفوتر */
.weight-box {
    height: 148px;
    width: 100%;
    position: relative;
    background: #EFFEFF;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.weight-text {
    text-align: right;
    color: #034452;
    font-size: 18px;
    font-family: 'hacenmaghreblt', sans-serif !important;
    font-weight: 400;
    line-height: 30px;
    max-width: 60%;
    word-wrap: break-word;
}

.text-regular,
.text-bold {
    color: #034452;
    font-size: 18px;
    font-family: 'hacenmaghreblt', sans-serif !important;
    font-weight: 400;
    line-height: 30px;
    word-wrap: break-word;
}

.download-button {
    height: 60px;
    padding: 13px 20px;
    background: white;
    border-radius: 50px;
    outline: 1px solid #034452;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    box-sizing: border-box;
}

.button-text {
    text-align: right;
    color: #034452;
    font-size: 15px;
    font-family: 'hacenmaghreblt', sans-serif !important;
    font-weight: 400;
    line-height: 23px;
    word-wrap: break-word;
}

.background-layer-1,
.background-layer-2,
.subject-box2 {
    width: 15%;
    position: absolute;
    box-sizing: border-box;
}

.background-layer-1 {
    height: 58px;
    right: 40px;
    top: 55px;
    background: #F7F7F8;
    box-shadow: 0 4px 40px rgba(25, 24, 27, 0.06);
    border-radius: 10px;
    border: 1px solid #E9E9EC;
    width: calc(100% - 80px);
    max-width: 750px;
}

.background-layer-2 {
    height: 58px;
    right: 45px;
    top: 46px;
    background: #FAFAFA;
    box-shadow: 0 4px 40px rgba(25, 24, 27, 0.06);
    border-radius: 10px;
    border: 1px solid #E9E9EC;
    width: calc(100% - 90px);
    max-width: 740px;
}

.subject-box2 {
    width: 15%;
    padding: 12px 16px;
    right: 50px;
    top: 35px;
    background: white;
    box-shadow: 0 4px 50px rgba(25, 24, 27, 0.04);
    border-radius: 12px;
    outline: 1px solid #E9E9EC;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 10px;
    width: calc(100% - 100px);
    max-width: 720px;
}

.subject-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.subject-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 4px;
}

.subject-title {
    text-align: right;
    color: black;
    font-size: 12px;
    font-family: 'hacenmaghreblt', sans-serif !important;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
}

.subject-percentage {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 3px;
    height: 3px;
    background: #CBC9CF;
    border-radius: 50%;
}

.percentage-text {
    text-align: right;
    color: #64606C;
    font-size: 12px;
    font-family: 'hacenmaghreblt', sans-serif !important;
    font-weight: 400;
    word-wrap: break-word;
}

.subject-icon {
    width: 36px;
    height: 36px;
    border-radius: 100px;
    outline: 1px solid #EFEFF1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.icon-container {
    width: 20px;
    height: 20px;
    position: relative;
    overflow: hidden;
}

.icon-part-1 {
    width: 4.01px;
    height: 4.18px;
    position: absolute;
    left: 12.56px;
    top: 2.22px;
    background: #00C2E0;
}

.icon-part-2 {
    width: 13.81px;
    height: 16.25px;
    position: absolute;
    left: 3.09px;
    top: 1.88px;
    background: #00C2E0;
}

/* ميديا كويري لتظبيط الموبايل */
@media (max-width: 768px) {
    .weight-box {
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .weight-text {
        font-size: 14px;
        line-height: 22px;
        max-width: 100%;
        text-align: center;
    }

    .download-button {
        width: 100%;
        justify-content: center;
    }

    .background-layer-1,
    .background-layer-2,
    .subject-box2 {
        position: relative;
        right: auto;
        top: auto;
        max-width: 15%;
        width: 15%;
    }

    .subject-box2 {
        width: 15%;
        padding: 10px;
    }
}


mt-5.p-3.rounded {
    background-color: #f0fdff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}



/*تاني صفحة */



.section-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.college-selection {
    margin-bottom: 25px;
}

.college-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.college-pill {
    padding: 8px 20px;
    border-radius: 50px;
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .college-pill.active {
        background-color: var(--primary-color);
        color: white;
    }

.requirements_new {
    background-color: var(--gray-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
}

.requirements_new-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.calculator-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

.calculator-row {
    display: grid;
    grid-template-columns: 1fr 1fr 0.7fr 0.7fr 0.7fr 1.5fr;
    align-items: center;
    margin-bottom: 15px;
}

.subject-title {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 18px;
    text-align: right;
    width: 100px;
}

.weight-label {
    color: var(--primary-color);
    font-weight: 500;
    text-align: center;
}

.weight-option {
    position: relative;
    text-align: center;
}

.weight-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: white;
    font-weight: 600;
    font-size: 16px;
    font-family: 'hacenmaghreblt', sans-serif !important;
    color: #0a4e5c;
}

}

.weight-circle:hover {
    border-color: var(--primary-color);
}

.weight-circle.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 3px 10px rgba(13, 187, 195, 0.2);
}

    .weight-circle.selected::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 2px solid var(--primary-color);
    }

.grade-input {
    text-align: center;
}

    .grade-input input {
        width: 100%;
        padding: 10px 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        text-align: center;
        transition: all 0.3s ease;
    }

        .grade-input input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(13, 187, 195, 0.1);
            outline: none;
        }

.calculate-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .calculate-btn:hover {
        background-color: #09a5ad;
        box-shadow: 0 5px 15px rgba(13, 187, 195, 0.3);
        transform: translateY(-2px);
    }

/* قسم النتائج */
.info-section {
    background-color: #e6f9fa;
    border-radius: 15px;
    padding: 20px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-text {
    color: var(--dark-color);
    line-height: 1.6;
    font-weight: 500;
    max-width: 60%;
}

    .info-text span {
        color: var(--primary-color);
        font-weight: 600;
    }

.completion-status {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.completion-icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.completion-text {
    text-align: center;
}

.percentage {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.download-btn {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 30px;
    display: inline-block;
}

    .download-btn:hover {
        background-color: var(--primary-color);
        color: white;
    }

/* تعديلات للشاشات الصغيرة */
@@media (max-width: 768px) {
    .calculator-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 25px;
    }

    .subject-title {
        grid-column: span 2;
        text-align: center;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .weight-label {
        grid-column: span 2;
    }

    .weight-options-container {
        grid-column: span 2;
        display: flex;
        justify-content: center;
        gap: 15px;
        margin: 10px 0;
    }

    .grade-input {
        grid-column: span 2;
    }

    .info-section {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .info-text {
        max-width: 100%;
    }
}
