/* Assessment Page Styles */
.assessment-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.assessment-main {
    padding: 1rem 0;
    margin-top: 80px; /* Add margin to account for fixed header */
}

/* Hero section for assessment page */
.assessment-page .hero {
    padding-top: 80px;
    min-height: auto;
    padding-bottom: 2rem;
}

.assessment-page .hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.assessment-page .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
}

.assessment-page .hero-left {
    text-align: center;
}

.assessment-page .hero-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.assessment-page .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.assessment-page .hero-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.assessment-page .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.assessment-page .hero-buttons .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.assessment-page .hero-right {
    display: none; /* Hide hero image in assessment page */
}

/* Header adjustments for assessment page */
.assessment-page .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
}

.assessment-page .navbar {
    padding: 0.5rem 0;
}

.assessment-page .nav-container {
    max-width: 1000px;
    padding: 0 1rem;
}

.assessment-page .nav-logo {
    gap: 0.5rem;
}

.assessment-page .nav-logo .logo {
    width: 80px;
    height: auto;
}

.assessment-page .logo-text {
    font-size: 1.1rem;
}

.assessment-page .prodi-info {
    font-size: 9px;
}

.assessment-page .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.assessment-page .brand-text {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.assessment-page .nav-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
}

/* Footer adjustments for assessment page */
.assessment-page .footer {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

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

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Auth Container */
.auth-container {
    max-width: 500px;
    margin: 1rem auto;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
    font-size: 0.9rem;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    background: #f8f9fa;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.tab-btn.active {
    background: #667eea;
    color: white;
}

.tab-btn:hover {
    background: #5a6fd8;
    color: white;
}

/* Auth Forms */
.auth-tab {
    display: none;
}

.auth-tab.active {
    display: block;
}

.auth-form .form-group {
    margin-bottom: 1.2rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.auth-form input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #667eea;
}

.btn-full {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Assessment Instructions */
.assessment-instructions {
    max-width: 800px;
    margin: 1rem auto;
}

.instructions-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.instructions-card h2 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.instructions-content {
    margin-bottom: 1.5rem;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.instruction-item i {
    font-size: 1.2rem;
    color: #667eea;
    margin-right: 0.8rem;
    margin-top: 0.2rem;
}

.instruction-item h3 {
    color: #333;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.instruction-item p, .instruction-item ul {
    color: #666;
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.instruction-item ul {
    list-style: none;
    padding: 0;
}

.instruction-item li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.instruction-item li:before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Assessment Interface */
.assessment-interface {
    max-width: 1200px;
    margin: 0 auto;
}

.assessment-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Question Sidebar */
.question-sidebar {
    background: #f8f9fa;
    padding: 1rem;
    border-right: 1px solid #e0e0e0;
}

.question-sidebar h3 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.question-numbers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
}

.question-number {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.question-number:hover {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.question-number.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.question-number.answered {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

/* Assessment Content */
.assessment-content {
    padding: 1.5rem;
}

.assessment-header {
    margin-bottom: 1.5rem;
}

.assessment-info h2 {
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.assessment-meta {
    display: flex;
    gap: 1.5rem;
    color: #666;
    font-size: 0.85rem;
}

.assessment-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-top: 0.8rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

/* Question Container */
.question-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.question-content h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Likert Scale */
.likert-scale {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.likert-option {
    position: relative;
}

.likert-option input[type="radio"] {
    display: none;
}

.likert-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.likert-option input[type="radio"]:checked + label {
    border-color: #667eea;
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.likert-option.selected label {
    border-color: #667eea;
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.likert-option:hover label {
    border-color: #5a6fd8;
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.2);
}

.option-number {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.4rem;
}

.option-text {
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Question Navigation */
.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.question-navigation .btn {
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.question-navigation .btn i {
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.2rem 1.5rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-footer .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Results Content */
.results-content {
    text-align: center;
}

.score-display {
    margin-bottom: 1.5rem;
}

.score-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.score-circle span:first-child {
    font-size: 2rem;
    font-weight: bold;
}

.score-label {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Competency Analysis */
.score-breakdown {
    margin-bottom: 1.5rem;
}

.score-breakdown h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.competency-analysis {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.competency-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.competency-name {
    min-width: 120px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.competency-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.competency-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.5s ease;
}

.competency-score {
    min-width: 40px;
    font-weight: bold;
    color: #667eea;
    font-size: 0.9rem;
}

/* Advanced Analysis Styles */
.advanced-analysis {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.advanced-analysis h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.analysis-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.analysis-section h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-section h4 i {
    font-size: 1rem;
}

.irt-results, .ahp-results, .cultural-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
}

.irt-item, .ahp-item, .cultural-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
}

.irt-item span:first-child, .ahp-item span:first-child, .cultural-item span:first-child {
    color: #666;
    font-weight: 500;
}

.irt-item span:last-child, .ahp-item span:last-child, .cultural-item span:last-child {
    color: #667eea;
    font-weight: bold;
    background: white;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .assessment-page .hero {
        padding-top: 60px;
        padding-bottom: 1rem;
    }
    
    .assessment-page .hero-title {
        font-size: 1.5rem;
    }
    
    .assessment-page .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .assessment-page .hero-description {
        font-size: 0.8rem;
    }
    
    .assessment-page .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .assessment-page .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .assessment-page .nav-container {
        padding: 0 0.5rem;
    }
    
    .assessment-page .nav-logo .logo {
        width: 50px;
    }
    
    .assessment-page .logo-text {
        font-size: 0.9rem;
    }
    
    .assessment-page .prodi-info {
        font-size: 0.7rem;
    }
    
    .assessment-page .nav-menu {
        gap: 0.5rem;
    }
    
    .assessment-page .brand-text {
        font-size: 0.9rem;
    }
    
    .assessment-page .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .assessment-layout {
        grid-template-columns: 1fr;
    }
    
    .question-sidebar {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .likert-scale {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .assessment-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 2% auto;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .competency-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .competency-name {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .assessment-page .hero {
        padding-top: 50px;
        padding-bottom: 0.5rem;
    }
    
    .assessment-page .hero-title {
        font-size: 1.3rem;
    }
    
    .assessment-page .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .assessment-page .hero-description {
        font-size: 0.75rem;
    }
    
    .assessment-page .hero-buttons .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .assessment-page .nav-logo .logo {
        width: 40px;
    }
    
    .assessment-page .logo-text {
        font-size: 0.8rem;
    }
    
    .assessment-page .prodi-info {
        font-size: 0.6rem;
    }
    
    .assessment-page .brand-text {
        font-size: 0.8rem;
    }
    
    .auth-card, .instructions-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .likert-scale {
        grid-template-columns: 1fr;
    }
    
    .question-navigation {
        flex-direction: column;
    }
    
    .question-navigation .btn {
        width: 100%;
    }
} 

/* Responsive adjustments for advanced analysis */
@media (max-width: 768px) {
    .irt-results, .ahp-results, .cultural-results {
        grid-template-columns: 1fr;
    }
    
    .irt-item, .ahp-item, .cultural-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .advanced-analysis {
        padding: 1rem;
    }
    
    .analysis-section {
        padding: 0.8rem;
    }
} 