


.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

h1 {
    font-size: 2.8rem;
    color: #1a2a6c;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

h1:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 20px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.8rem;
    color: #1a2a6c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 12px;
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subject-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.subject-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.subject-group h3 {
    color: #1a2a6c;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.subject-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.subject-item input {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.subject-item label {
    font-size: 1.1rem;
    color: #495057;
    cursor: pointer;
}

.question {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #dee2e6;
}

.question:last-child {
    border-bottom: none;
}

.question-title {
    font-size: 1.3rem;
    color: #1a2a6c;
    margin-bottom: 15px;
    font-weight: 600;
}

.subject-tag {
    display: inline-block;
    background: #1a2a6c;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 10px;
    vertical-align: middle;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.option {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
}

.option:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

.option.selected {
    background: #dbe4ff;
    border-color: #1a2a6c;
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.2);
}

.option input {
    margin-right: 12px;
    margin-top: 4px;
    min-width: 20px;
    height: 20px;
}

.option-label {
    font-weight: bold;
    margin-right: 8px;
    color: #1a2a6c;
}

.btn {
    display: inline-block;
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    color: white;
    border: none;
    padding: 14px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn:active {
    transform: translateY(1px);
}

.btn-container {
    text-align: center;
    margin: 30px 0;
}

.result-container {
    display: none;
    text-align: center;
    padding: 30px;
}

.result-radar {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
}

.ability-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.ability-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: left;
}

.ability-name {
    font-weight: bold;
    color: #1a2a6c;
    margin-bottom: 5px;
}

.progress-container {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.progress-value {
    font-size: 0.9rem;
    color: #495057;
    margin-top: 5px;
    text-align: right;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    display: none;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    display: none;
}

@media (max-width: 768px) {
    .subject-selection {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.2rem;
    }

    .card-title {
        font-size: 1.5rem;
    }
}
.card {
    background: linear-gradient(to right, #eef2f7, #f8f9fa);
    border-left: 4px solid #3498db;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(52, 152, 219, 0.2);
}
.school {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}
.major {
    font-size: 16px;
    color: #7f8c8d;
    margin-left: 10px;
}
.similarity {
    font-size: 14px;
    color: #3498db;
    margin-top: 8px;
    text-align: right;
}