/* 
 * DISC Test CSS Stylesheet
 * Career Center Universitas Darmajaya
 */

 :root {
    --disc-d: #dc3545;
    --disc-i: #ffc107;
    --disc-s: #198754;
    --disc-c: #0dcaf0;
    --primary-color: #667eea;
    --secondary-color: #764ba2;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

/* Card Styling */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
}

/* DISC Type Colors */
.disc-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.disc-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.d-type {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #333;
}

.i-type {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    color: #333;
}

.s-type {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    color: #333;
}

.c-type {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    color: #333;
}

/* Question Section */
.question-section {
    background-color: #fff;
    border: 2px solid #e9ecef;
}

.question-title {
    color: #2c3e50;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.statement-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.statement-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.statement-card .card-text {
    min-height: 80px;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Button Styling */
.btn {
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 25px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e063 100%);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    border: none;
}

/* Radio Button Customization */
.btn-check:checked + .btn-outline-success {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.btn-check:checked + .btn-outline-danger {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 10px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    transition: width 0.5s ease;
}

/* Badge Styling */
.badge {
    border-radius: 50px;
    padding: 8px 15px;
    font-weight: 600;
}

.disc-badge-lg .badge {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Table Styling */
.table-hover tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.1);
}

/* Alert Styling */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* Modal Styling */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

/* Print Styles */
@media print {
    .btn, .card-footer, #print-btn {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-section {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-body {
        padding: 20px !important;
    }
    
    .disc-badge-lg .badge {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 10px 20px;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .statement-card .card-text {
        min-height: 60px;
        font-size: 0.95rem;
    }
}