/* =========================================
   KAMALDNP AI Career Prediction Styles
========================================= */

.prediction-wrapper {
    max-width: 900px;
    margin: 50px auto;
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}
.lang-switcher .toggle-container {
    display: flex;
    background: #e0e0e0;
    border-radius: 30px;
    overflow: hidden;
}
.lang-btn {
    padding: 10px 25px;
    border: none;
    background: transparent;
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}
.lang-btn.active {
    background: #0d47a1;
    color: white;
}

.hero-banner {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(13, 71, 161, 0.3);
}
.hero-banner h1 {
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    letter-spacing: 1px;
}
.hero-banner p {
    margin: 0;
    font-size: 1.1rem;
    color: #e3f2fd;
}

.disclaimer-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    color: #856404;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 25px;
    animation: fadeIn 0.5s ease;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}
.form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background-color: #fafafa;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}
.form-control[multiple] {
    background-image: none;
    padding: 10px;
}
.form-control:focus {
    border-color: #1976d2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
    background-color: #fff;
}

/* Custom Selection Box for Multiple Checkboxes */
.selection-box {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background: #fafafa;
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.selection-box .custom-chk {
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-bottom: 0;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.2s;
    color: #333;
}
.selection-box .custom-chk:hover {
    background: #e3f2fd;
}
.selection-box .custom-chk input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* AI Assessment Section */
#aiAssessmentGroup {
    display: none;
    background: #f4f7f6;
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid #0d47a1;
    margin-bottom: 25px;
    animation: fadeIn 0.5s;
}
#aiAssessmentGroup h3 {
    color: #0d47a1;
    margin-top: 0;
    margin-bottom: 20px;
}

.action-btn {
    display: block;
    width: 100%;
    background: #d32f2f;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 20px;
}
.action-btn:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

/* Result Box */
#prediction-result {
    display: none;
    margin-top: 30px;
    background: #e8f5e9;
    border: 2px solid #4caf50;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    animation: scaleIn 0.5s;
}
#prediction-result h2 {
    color: #2e7d32;
    margin-top: 0;
    font-size: 2rem;
    text-align: center;
}
#prediction-result p {
    color: #333;
    font-size: 1.15rem;
    line-height: 1.8;
}
.highlight-branch {
    font-size: 1.5rem;
    color: #d32f2f;
    font-weight: bold;
    display: block;
    text-align: center;
    margin: 15px 0;
    padding: 15px 20px;
    background: #fff;
    border: 2px dashed #d32f2f;
    border-radius: 8px;
}
#prediction-result .fun-note {
    font-size: 0.95rem;
    color: #666;
    margin-top: 25px;
    font-style: italic;
    text-align: center;
}

.ul-skills {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}
.ul-skills li {
    margin-bottom: 5px;
    color: #0d47a1;
    font-weight: 600;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 768px) {
    .prediction-wrapper { margin: 20px; padding: 25px; }
    .hero-banner h1 { font-size: 2rem; }
}