/* LinkedIn Profile Checker - Minimal Styles using base.css only */

.profile-checker-container {
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Progress Bar */
.progress-bar-container {
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Step Container */
.step-container {
    width: 100%;
    max-width: 800px;
}

.step-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 24px;
}

.step-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.step-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.step-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Lexend', sans-serif;
}

.step-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.btn-analyze {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 16px;
}

.profile-textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    transition: var(--transition);
    background: white;
}

.profile-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-hint {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: -16px;
    margin-bottom: 24px;
}

/* How it works section */
.how-it-works {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-top: 32px;
}

.how-it-works-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.how-it-works-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-it-works-list li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.how-it-works-list li::before {
    content: "• ";
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 8px;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px;
    text-align: center;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--bg-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 32px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 500px;
    text-align: left;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-10px);
}

.loading-step.active {
    opacity: 1;
    transform: translateX(0);
    background: white;
    box-shadow: var(--shadow);
}

.loading-step.completed {
    opacity: 0.7;
}

.loading-step.completed .step-icon {
    color: var(--secondary-color);
    font-weight: 700;
}

.loading-step.active .step-icon {
    color: var(--primary-color);
    animation: pulse 1.5s ease-in-out infinite;
}

.step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.step-text {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
}

.loading-step.active .step-text {
    color: var(--text-primary);
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Analysis Report Styles */
.analysis-report {
    margin-top: 32px;
}

.report-section {
    margin-bottom: 48px;
}

.report-section:last-child {
    margin-bottom: 0;
}

.report-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    font-family: 'Lexend', sans-serif;
}

/* Perception Section */
.perception-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.perception-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.perception-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.perception-value {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.perception-full-statement {
    margin-top: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.perception-statement {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
}

/* Profile Strength Section */
.profile-strength-overall {
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    text-align: center;
}

.overall-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.score-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Lexend', sans-serif;
}

.profile-strength-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.strength-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.strength-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.strength-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.strength-score {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
    font-family: 'Lexend', sans-serif;
}

.strength-feedback {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Positioning Criteria Section */
.positioning-criteria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.criterion-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.criterion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.criterion-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.criterion-score {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
    font-family: 'Lexend', sans-serif;
}

.criterion-comment {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Recommendations Section */
.recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.recommendation-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.recommendation-category {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommendation-suggestion {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Disabled Button Styles */
.btn-primary:disabled,
.btn-primary.btn-disabled {
    background-color: var(--border-color);
    color: var(--text-secondary);
    cursor: not-allowed !important;
    opacity: 0.5;
    box-shadow: none;
    pointer-events: none;
}

.btn-primary:disabled:hover,
.btn-primary.btn-disabled:hover {
    transform: none;
    box-shadow: none;
    background-color: var(--border-color);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-checker-container {
        padding: 20px 16px;
    }

    .step-card {
        padding: 32px 24px;
    }

    .step-title {
        font-size: 24px;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-analyze {
        width: 100%;
        justify-content: center;
    }

    .positioning-criteria-grid {
        grid-template-columns: 1fr;
    }
}
