.cac-wizard {
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.cac-wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.nav-step {
    flex: 1;
    text-align: center;
    color: #6c757d;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #f0f0f0;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    background-color: #e9e9e9;
    border-color: #ccc;
}

.tab-btn.active {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
    font-weight: bold;
}

.nav-step-circle {
    width: 30px;
    height: 30px;
    background: #e9ecef;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-weight: bold;
}

.nav-step.active .nav-step-circle {
    background: #007bff;
    color: white;
}

.nav-step-line {
    height: 2px;
    background: #e9ecef;
    flex-grow: 1;
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
}

.nav-step.active ~ .nav-step .nav-step-line {
    background: #007bff;
}

.cac-step {
    display: none;
}

.cac-step.active {
    display: block;
}

.step-content {
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cac-btn-blue, .cac-btn-green, .cac-btn-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.tick-green { color: green; font-weight: bold; }
.tick-red { color: red; font-weight: bold; }

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.progress-label {
    font-weight: 600;
    color: var(--text-color);
}
.progress-issues {
    color: var(--primary-blue);
    font-weight: 500;
}
.progress-suggestion {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
}
#cac-file-drop-area .cac-btn-blue {
    background: #007bff;
    color: white;
    width: 20%;
    height: 70px;
}
#profession-select-container .cac-btn-blue {
    background: #007bff;
    color: white;
    width: 20%;
    height: 70px;
}
.cac-btn-blue {
    background: #007bff;
    color: white;
    width: 90%;
    height: 60px;
}
#step-1 {
text-align: center;
}
.cac-btn-green {
    background: #28a745;
    color: white;
}

.cac-btn-secondary {
    background: #6c757d;
    color: white;
}

.cac-btn-blue:hover, .cac-btn-green:hover, .cac-btn-secondary:hover {
    opacity: 0.9;
}

#cac-file-drop-area {
    padding: 20px;
    border: 2px dashed #007bff;
    text-align: center;
    margin: 10px 0;
}

#math-challenge {
    margin-top: 20px;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 10px auto;
    width: 80%;
}

#math-question {
    font-size: 1.2em;
    margin-bottom: 10px;
}

#math-answer {
    padding: 5px;
    width: 150px;
    margin-right: 10px;
}
.step-navigation {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.step-input-container {
    margin: 20px 0;
}

textarea#job_description {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

#profession-select-container {
    margin-top: 10px;
}

#profession-search {
    padding: 5px;
    width: 200px;
    margin-right: 10px;
}

.loading-content {
    text-align: center;
}

.cac-loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-categories {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
    gap: 10px;
}
.loading-category {
    font-weight: bold;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    min-width: 150px;
    text-align: center;
}
.loading-category .status {
    display: block;
    font-size: 0.8rem;
    color: var(--dark-grey);
}
.loading-category.completed .status {
    color: var(--primary-green);
}

.results-container {
    display: flex;
    gap: 20px;
}

.results-right-panel {
    flex: 1;
}

.results-left-panel {
    flex: 1;
    max-width: 400px;
    position: sticky;
    top: 0;
    left: 0;
    width: 30%;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
}
.results-left-panel h3 {
text-align: center;
    font-weight: bold;
    margin-bottom: -2px;
}

#gauge-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.gauge-score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    font-weight: bold;
}

.progress-item {
    margin: 10px 0;
}

.progress-bar-container {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    text-align: right;
    padding-right: 5px;
    color: white;
}

.green { background: #28a745; }
.blue { background: #007bff; }
.yellow { background: #ffc107; }
.red { background: #dc3545; }

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.report-table th, .report-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.report-table thead {
    background-color: #f2f2f2;
}

.report-table tr th:nth-child(1),
.report-table tr td:nth-child(1) {
    text-align: left;
    width: 20%;
}

.report-table tr th:nth-child(2),
.report-table tr td:nth-child(2) {
    text-align: center;
    font-weight: bold;
    width: 10%;
}

.report-table tr th:nth-child(3),
.report-table tr td:nth-child(3) {
    text-align: left;
    width: 70%;
}

.report-tabs {
    margin-top: 10px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: #e9ecef;
    margin-right: 5px;
    cursor: pointer;
}

.tab-btn.active {
    background: #007bff;
    color: white;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .cac-wizard {
        padding: 10px;
    }
    .results-container {
        flex-direction: column;
    }
    #gauge-container {
        width: 150px;
        height: 150px;
    }
    textarea#job_description {
        width: 100%;
    }
    #profession-select-container {
        flex-direction: column;
    }
    #profession-search {
        width: 100%;
        margin-bottom: 10px;
    }
    .cac-btn-blue, .cac-btn-green, .cac-btn-secondary {
        width: 100%;
        margin: 5px 0;
    }
}