.gpa-result {
            padding: 20px;
            background: white;
            border-radius: 8px;
            border: 1px solid #e9ecef;
            margin: 10px 0;
            text-align: center;
        }
        .gpa-value {
            font-size: 3.2rem;
            font-weight: 700;
            color: var(--primary-color);
            line-height: 1.2;
        }
        .gpa-label {
            font-size: 1rem;
            color: #6c757d;
            letter-spacing: 0.5px;
        }
        .gpa-scale {
            font-size: 1.1rem;
            color: #adb5bd;
        }
        .gpa-grade-badge {
            display: inline-block;
            padding: 0.4rem 1.2rem;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.1rem;
            margin-top: 0.5rem;
        }
        .grade-excellent { background: #d4edda; color: #155724; }
        .grade-good { background: #d1ecf1; color: #0c5460; }
        .grade-satisfactory { background: #fff3cd; color: #856404; }
        .grade-needs-improvement { background: #f8d7da; color: #721c24; }
        .course-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1rem 0;
            font-size: 0.95rem;
        }
        .course-table th {
            background: var(--light-gray);
            font-weight: 600;
            padding: 0.65rem 0.5rem;
            border: 1px solid var(--border-color);
            text-align: left;
        }
        .course-table td {
            padding: 0.5rem;
            border: 1px solid var(--border-color);
            vertical-align: middle;
        }
        .course-table .delete-btn {
            background: none;
            border: none;
            color: #dc3545;
            cursor: pointer;
            font-size: 1.1rem;
            transition: 0.2s;
        }
        .course-table .delete-btn:hover { transform: scale(1.2); }
        .empty-table-msg {
            padding: 1.5rem;
            text-align: center;
            color: #adb5bd;
            font-style: italic;
        }
        .weight-badge {
            display: inline-block;
            padding: 0.15rem 0.6rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }
        .weight-regular { background: #e9ecef; color: #495057; }
        .weight-honors { background: #cce5ff; color: #004085; }
        .weight-ap { background: #d4edda; color: #155724; }
        .weight-ib { background: #d1ecf1; color: #0c5460; }
        .weight-college { background: #f8d7da; color: #721c24; }
        .gpa-summary-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin: 1.5rem 0;
        }
        @media (max-width: 576px) {
            .gpa-summary-grid { grid-template-columns: 1fr; }
            .gpa-value { font-size: 2.4rem; }
        }
        .preset-examples {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .preset-btn {
            background: rgba(70, 130, 180, 0.08);
            border: 1px solid rgba(70, 130, 180, 0.2);
            border-radius: 6px;
            padding: 0.4rem 0.8rem;
            font-size: 0.85rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: 0.2s;
        }
        .preset-btn:hover {
            background: rgba(70, 130, 180, 0.18);
            transform: translateY(-2px);
        }
        .gpa-chart-bar {
            height: 20px;
            background: #e9ecef;
            border-radius: 10px;
            overflow: hidden;
            margin: 0.3rem 0;
            position: relative;
        }
        .gpa-chart-fill {
            height: 100%;
            border-radius: 10px;
            transition: width 0.6s ease;
            background: linear-gradient(90deg, #0d6efd, #0a58ca);
        }
        .gpa-chart-fill.excellent { background: linear-gradient(90deg, #28a745, #1e7e34); }
        .gpa-chart-fill.good { background: linear-gradient(90deg, #17a2b8, #117a8b); }
        .gpa-chart-fill.satisfactory { background: linear-gradient(90deg, #ffc107, #e0a800); }
        .gpa-chart-fill.needs-improvement { background: linear-gradient(90deg, #dc3545, #b02a37); }
        .gpa-chart-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: #6c757d;
        }
        .input-group-custom {
            margin-bottom: 0.75rem;
        }
        .tool-header .lead {
            font-size: 1.1rem;
        }
        @media (max-width: 768px) {
            .tool-header .lead { font-size: 0.95rem; }
        }
        .course-entry-row {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 1rem;
            margin-bottom: 0.75rem;
            border: 1px solid #e9ecef;
        }
        .course-entry-row .row > [class*="col-"] {
            padding-left: 0.4rem;
            padding-right: 0.4rem;
        }
        .gpa-summary-card {
            background: white;
            border-radius: 12px;
            padding: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
            border: 1px solid #e9ecef;
            height: 100%;
        }
        .gpa-summary-card .number {
            font-size: 2.6rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        .gpa-summary-card .label {
            font-size: 0.9rem;
            color: #6c757d;
        }
        .gpa-summary-card .sub {
            font-size: 0.85rem;
            color: #adb5bd;
        }