/* Course-specific styles */

.course-body {
    background: #f5f7fa;
    font-family: 'Open Sans', Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.course-container {
    display: grid;
    grid-template-areas: 
        "header header"
        "sidebar content";
    grid-template-rows: auto 1fr;
    grid-template-columns: 300px 1fr;
    height: 100vh;
}

/* Course Header */
.course-header {
    grid-area: header;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 100;
}

.course-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.course-menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: none;
}

.course-menu-btn:hover {
    background: rgba(255,255,255,0.2);
}

.course-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.course-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 300px;
}

.progress-text {
    font-size: 0.9rem;
    white-space: nowrap;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #4CAF50;
    width: 25%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

.course-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.course-close-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Course Sidebar */
.course-sidebar {
    grid-area: sidebar;
    background: white;
    border-right: 1px solid #e1e5e9;
    overflow-y: auto;
    padding: 1.5rem;
}

.course-navigation h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.module-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.module-item:hover {
    background: #f8f9fa;
}

.module-item.current {
    background: rgba(30, 60, 114, 0.1);
    border-color: #1e3c72;
}

.module-item.active {
    background: rgba(76, 175, 80, 0.1);
}

.module-number {
    width: 30px;
    height: 30px;
    background: #e9ecef;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.module-item.current .module-number {
    background: #1e3c72;
    color: white;
}

.module-item.active .module-number {
    background: #4CAF50;
    color: white;
}

.module-title {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.module-status {
    font-size: 1.2rem;
    color: #28a745;
}

.module-item.current .module-status {
    color: #1e3c72;
}

.module-item .module-status {
    color: #dee2e6;
}

.module-item.active .module-status {
    color: #28a745;
}

/* Course Content */
.course-content {
    grid-area: content;
    overflow-y: auto;
    padding: 2rem;
}

.content-area {
    max-width: 800px;
    margin: 0 auto;
}

.module-content {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.module-content.active {
    display: block;
}

.module-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
}

.module-header h2 {
    color: #1e3c72;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.module-description {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h3 {
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-block {
    line-height: 1.8;
    color: #555;
}

.content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.info-box h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Scenario Box */
.scenario-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #ffc107;
    margin: 1.5rem 0;
}

.knowledge-check {
    background: #e8f5e8;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #28a745;
    margin: 1.5rem 0;
}

/* Quiz Options */
.quiz-options {
    margin: 1.5rem 0;
}

.quiz-option {
    display: block;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.quiz-option:hover {
    border-color: #1e3c72;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.1);
}

.quiz-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.quiz-option input[type="radio"]:checked + .option-text {
    color: #1e3c72;
    font-weight: 600;
}

.quiz-option:has(input[type="radio"]:checked) {
    border-color: #1e3c72;
    background: rgba(30, 60, 114, 0.05);
}

.option-text {
    display: block;
    padding-left: 2rem;
    position: relative;
}

.option-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    background: white;
}

.quiz-option:has(input[type="radio"]:checked) .option-text::before {
    border-color: #1e3c72;
    background: #1e3c72;
    box-shadow: inset 0 0 0 4px white;
}

/* Buttons */
.check-answer-btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.check-answer-btn:hover {
    background: #2a5298;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.check-answer-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Answer Feedback */
.answer-feedback {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
}

.answer-feedback.correct {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.answer-feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid #4CAF50;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Module Navigation */
.module-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #1e3c72;
    background: white;
    color: #1e3c72;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover:not(:disabled) {
    background: #1e3c72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.next-btn {
    margin-left: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .course-container {
        grid-template-columns: 250px 1fr;
    }
    
    .course-progress {
        flex: 0 0 200px;
    }
}

@media (max-width: 768px) {
    .course-container {
        grid-template-areas: 
            "header"
            "content";
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .course-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        z-index: 200;
        transition: left 0.3s ease;
        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    }
    
    .course-sidebar.open {
        left: 0;
    }
    
    .course-menu-btn {
        display: block;
    }
    
    .course-nav {
        flex-wrap: wrap;
    }
    
    .course-progress {
        order: 3;
        flex: 1 1 100%;
        margin-top: 1rem;
    }
    
    .course-content {
        padding: 1rem;
    }
    
    .module-content {
        padding: 1.5rem;
    }
    
    .module-header h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .module-navigation {
        flex-direction: column;
    }
    
    .next-btn {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .course-content {
        padding: 0.5rem;
    }
    
    .module-content {
        padding: 1rem;
    }
    
    .course-nav {
        gap: 0.5rem;
    }
    
    .course-title {
        font-size: 1.2rem;
    }
    
    .quiz-option {
        padding: 0.75rem;
    }
    
    .option-text {
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
}

/* Introduction Module Styles */
.welcome-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #4CAF50;
}

.stat-label {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.objective-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid #4CAF50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.objective-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.objective-item h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.objective-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.tutorial-box {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid #17a2b8;
    margin: 1.5rem 0;
}

.tutorial-box h4 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tutorial-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #17a2b8;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h5 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.ready-action {
    text-align: center;
    margin: 2rem 0;
}

.ready-action .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

/* Email Security Module Styles */
.phishing-example {
    background: #fff3cd;
    border: 2px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.phishing-example h4 {
    color: #856404;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-preview {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.9rem;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.email-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    color: #666;
}

.red-flags {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 0 6px 6px 0;
}

.red-flags h5 {
    color: #721c24;
    margin-bottom: 0.5rem;
}

.red-flags ul {
    color: #721c24;
    margin: 0;
    padding-left: 1.5rem;
}

/* Social Engineering Module Styles */
.scenario-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.scenario-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #ff6b6b;
    transition: transform 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.scenario-title {
    color: #1e3c72;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.warning-signs {
    background: #fff3cd;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.warning-signs h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.defense-strategies {
    background: #d1ecf1;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.defense-strategies h4 {
    color: #0c5460;
    margin-bottom: 1rem;
}

/* Mobile Security Module Styles */
.device-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.device-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.device-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.device-card h4 {
    margin-bottom: 1rem;
}

.security-checklist {
    background: #e8f5e8;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.security-checklist h4 {
    color: #155724;
    margin-bottom: 1rem;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
}

.checklist-item input[type="checkbox"] {
    margin: 0;
}

/* Data Protection Module Styles */
.classification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.classification-level {
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    color: white;
    font-weight: 600;
}

.classification-public {
    background: #28a745;
}

.classification-internal {
    background: #ffc107;
    color: #212529;
}

.classification-confidential {
    background: #fd7e14;
}

.classification-restricted {
    background: #dc3545;
}

.handling-procedures {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.handling-procedures h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

/* Final Assessment Styles */
.assessment-info {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.assessment-requirements {
    background: #fff3cd;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.assessment-requirements h4 {
    color: #856404;
    margin-bottom: 1rem;
}

.question-counter {
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 1rem;
    display: inline-block;
}

.assessment-progress {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.assessment-progress-fill {
    height: 100%;
    background: #28a745;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Assessment Interface Styles */
.assessment-modal .course-modal-content {
    max-width: 800px;
    width: 95%;
}

.assessment-interface {
    padding: 1rem;
}

.assessment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.question-counter {
    font-weight: 600;
    color: #1e3c72;
    font-size: 1.1rem;
}

.assessment-timer {
    font-weight: 700;
    font-size: 1.2rem;
    color: #28a745;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 2px solid #28a745;
}

.assessment-progress {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.assessment-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 6px;
    transition: width 0.3s ease;
}

.question-content h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    line-height: 1.5;
}

.assessment-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Assessment Results Styles */
.assessment-results {
    text-align: center;
    padding: 1rem;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header.passed {
    color: #28a745;
}

.results-header.failed {
    color: #dc3545;
}

.results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.results-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.results-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.result-stat {
    text-align: center;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-value.passed {
    color: #28a745;
}

.stat-value.failed {
    color: #dc3545;
}

.success-actions, .retry-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Assessment Review Styles */
.review-modal .course-modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
}

.assessment-review {
    padding: 1rem;
}

.review-summary {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.review-summary h3 {
    color: #1e3c72;
    margin: 0;
}

.review-questions {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.review-question {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.review-question.correct {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.review-question.incorrect {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.review-question h4 {
    margin-bottom: 1rem;
    color: #1e3c72;
}

.question-text {
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
}

.answer-comparison {
    margin: 1rem 0;
}

.user-answer, .correct-answer {
    padding: 0.75rem;
    margin: 0.5rem 0;
    border-radius: 6px;
}

.user-answer.correct {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.user-answer.incorrect {
    background: rgba(220, 53, 69, 0.1);
    border-left: 4px solid #dc3545;
}

.correct-answer {
    background: rgba(40, 167, 69, 0.1);
    border-left: 4px solid #28a745;
}

.explanation {
    margin-top: 1rem;
    padding: 1rem;
    background: #e9ecef;
    border-radius: 6px;
    font-style: italic;
    line-height: 1.6;
}

.review-actions {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Print Styles */
@media print {
    .course-header,
    .course-sidebar,
    .module-navigation {
        display: none;
    }
    
    .course-container {
        display: block;
        height: auto;
    }
    
    .course-content {
        padding: 0;
    }
    
    .module-content {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Registration Steps Verification Styles */
.captcha-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 20px;
}

.steps-challenge {
    text-align: center;
    margin-bottom: 20px;
}

.steps-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.steps-box {
    background: linear-gradient(135deg, #ffffff 0%, #f1f3f4 100%);
    border: 2px solid #1e3c72;
    border-radius: 8px;
    padding: 20px 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
    min-width: 280px;
}

.steps-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #1e3c72, #4CAF50, #1e3c72, #4CAF50);
    border-radius: 10px;
    z-index: -1;
    animation: stepsBorder 3s linear infinite;
}

@keyframes stepsBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.step-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border-left: 4px solid #4CAF50;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #1e3c72;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    font-size: 0.9rem;
}

.step-instruction {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #1e3c72;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    background: #e8f4f8;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #4CAF50;
}

/* Clipboard Section Styles */
.clipboard-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.clipboard-section h4 {
    margin: 0 0 15px 0;
    color: #1e3c72;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.clipboard-container {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 10px;
}

.registration-display {
    flex: 1;
    padding: 12px;
    border: 2px solid #1e3c72;
    border-radius: 6px;
    background: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #1e3c72;
    height: 45px;
    line-height: 1.2;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    user-select: text;
}

.btn-copy {
    background: #4CAF50;
    color: white;
    border: 2px solid #4CAF50;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-copy:hover {
    background: #45a049;
    border-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-copy:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}



.clipboard-status {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0 0 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.steps-visual h4 {
    margin: 0 0 15px 0;
    color: #1e3c72;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.steps-input {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px;
    border: 2px solid #1e3c72;
    border-radius: 6px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.steps-input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    transform: scale(1.02);
}

.steps-input option {
    padding: 10px;
    font-size: 1rem;
}

.captcha-info {
    background: #e8f4f8;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #4CAF50;
    margin-top: 15px;
}

.captcha-info p {
    margin: 0;
    color: #2c5530;
    text-align: center;
}

/* Enhanced form actions for captcha */
.captcha-form .form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.captcha-form .form-actions .btn {
    min-width: 140px;
}

/* Security verification header styling */
.certificate-form .form-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

/* Responsive steps design */
@media (max-width: 768px) {
    .steps-box {
        padding: 15px 20px;
        min-width: 250px;
    }
    
    .step-instruction {
        font-size: 1rem;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        margin-right: 10px;
    }
    
    .clipboard-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-copy {
        justify-content: center;
        width: 100%;
    }
    
    .captcha-form .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .captcha-form .form-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}