.blog_img {
    height: 260px;
}

.section-top{
    padding-top: 80px;
    padding-bottom: 30px;
}

.bg-main{
    background-color: #2eca7f;
}

.section-top-exam{
    padding-top: 70px;
    padding-bottom: 20px;
}

/* Quill Editor Styles */
.ql-editor {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    min-height: 200px;
}

.ql-toolbar.ql-snow {
    border: 1px solid #e1e8ed;
    border-radius: 8px 8px 0 0;
    background: #f8f9fa;
    padding: 8px;
}

.ql-container.ql-snow {
    border: 1px solid #e1e8ed;
    border-radius: 0 0 8px 8px;
    border-top: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ql-editor.ql-blank::before {
    color: #6c757d;
    font-style: italic;
}

/* Quill in choice items */
.choice-text .ql-editor {
    min-height: 100px;
}

.choice-quill-container {
    margin-bottom: 15px;
    width: 100%;
}

.choice-quill-container .ql-toolbar.ql-snow {
    border-radius: 6px 6px 0 0;
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    width: 100%;
}

.choice-quill-container .ql-container.ql-snow {
    border-radius: 0 0 6px 6px;
    border: 1px solid #e1e8ed;
    border-top: none;
    min-height: 80px;
    width: 100%;
    position: relative;
}

/* Resize handle for choice editors */
.choice-quill-container .ql-container.ql-snow::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 15px;
    height: 15px;
    background: linear-gradient(-45deg, transparent 30%, #ccc 30%, #ccc 40%, transparent 40%);
    cursor: nw-resize;
    z-index: 10;
}

.choice-quill-container .ql-container.ql-snow:hover::after {
    background: linear-gradient(-45deg, transparent 30%, #999 30%, #999 40%, transparent 40%);
}

/* Enhanced resize handle styles */
.quill-resize-handle {
    transition: all 0.2s ease;
}

.quill-resize-handle:hover {
    transform: scale(1.1);
}

/* Make sure all Quill editors can be resized */
.ql-container.ql-snow {
    position: relative;
}

/* Ensure editors have proper minimum heights */
#question-quill-editor-container .ql-container.ql-snow,
#quill-editor-container .ql-container.ql-snow {
    min-height: 200px;
}

.choice-quill-container .ql-container.ql-snow {
    min-height: 80px;
}

/* Image resize styles */
.ql-editor img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.ql-editor img:hover {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

/* Image resize handles */
.ql-editor .image-resizer {
    border: 2px solid #007acc;
    border-radius: 4px;
}

.ql-editor .image-resizer .handle {
    background: #007acc;
    border: 2px solid white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    position: absolute;
}

.ql-editor .image-resizer .handle:hover {
    background: #005a9e;
    transform: scale(1.2);
}

/* Exam Model Cards */
.exam-model-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.exam-model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.exam-model-card .card-header {
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.exam-model-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.exam-model-card:hover .card-header::before {
    opacity: 1;
}

.exam-model-card .card-header i {
    font-size: 60px;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.exam-model-card:hover .card-header i {
    transform: scale(1.1);
}

.exam-model-card .card-body {
    padding: 25px;
    height: calc(100% - 200px);
    display: flex;
    flex-direction: column;
}

.exam-model-card .badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 15px;
}

.exam-model-card .card-title {
    color: #333;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    display: block;
}

.exam-model-card .card-title:hover {
    color: #667eea;
}

/* SEO Section Styling */
.form-section h3 i.fa-search {
    color: #28a745;
}

.form-section .help-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.form-section .form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-section .form-group input,
.form-section .form-group textarea {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-section .form-group input:focus,
.form-section .form-group textarea:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-section .form-group input[maxlength="60"],
.form-section .form-group input[maxlength="160"] {
    position: relative;
}

.form-section .form-group input[maxlength="60"]::after,
.form-section .form-group input[maxlength="160"]::after {
    content: attr(maxlength);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #6c757d;
    pointer-events: none;
}

.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.25rem;
    font-style: italic;
}

.char-counter.warning {
    color: #ffc107;
}

.char-counter.danger {
    color: #dc3545;
}

/* SEO Info Alert Styling */
.form-section .alert-info {
    border-left: 4px solid #17a2b8;
    background-color: rgba(23, 162, 184, 0.1);
    border-color: #17a2b8;
}

.form-section .alert-info i.fa-lightbulb-o {
    color: #17a2b8;
    margin-right: 0.5rem;
}

.form-section .alert-info strong {
    color: #0c5460;
}

/* Description Template Helper Styling */
.description-template-helper {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
}

.description-template-helper .alert {
    margin-bottom: 0.75rem;
}

.description-template-helper .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.description-template-helper .template-preview {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 0.5rem;
}

.description-template-helper .template-preview code {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.4;
}

.description-template-helper .btn-outline-primary:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.exam-model-card .card-text {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.exam-model-card .card-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    transition: color 0.3s ease;
}

.exam-model-card .card-link:hover {
    color: #764ba2;
}

.exam-model-card .card-link svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.exam-model-card .card-link:hover svg {
    transform: translateX(5px);
}

/* Subject Cards */
.subject-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.subject-card .card-header {
    height: 180px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.subject-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subject-card:hover .card-header::before {
    opacity: 1;
}

.subject-card .card-header i {
    font-size: 50px;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.subject-card:hover .card-header i {
    transform: scale(1.1);
}

/* Topic Cards */
.topic-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.topic-card .card-header {
    height: 150px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.topic-card .card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-card:hover .card-header::before {
    opacity: 1;
}

.topic-card .card-header i {
    font-size: 40px;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.topic-card:hover .card-header i {
    transform: scale(1.1);
}

/* Navigation Links */
.nav-link-custom {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #667eea;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link-custom:hover {
    color: #764ba2;
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.nav-link-custom i {
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.nav-link-custom:hover i {
    transform: translateX(-3px);
}

.result-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .result-card img{
    width: 100%;
    height: auto;
  }

  .score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin: 0 auto;
  }

  .score-high {
    background-color: #34d399;
  }

  .score-medium {
    background-color: #fbbf24;
  }

  .score-low {
    background-color: #ef4444;
  }

  .stat-box {
    background-color: #f3f4f6;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
  }

  .question-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
  }

  .status-correct {
    background-color: #d1fae5;
    color: #065f46;
  }

  .status-incorrect {
    background-color: #fee2e2;
    color: #991b1b;
  }

  .status-unanswered {
    background-color: #e5e7eb;
    color: #374151;
  }

  .answers-container {
    background-color: #d3d3d30f;

  }

  .course-slide .month {
    font-size: 14px;
  }
.exam-models{
  padding-bottom: 50px;
    background-position: center;
    background-size: cover;
  }

/* Equal Height Cards */
.row {
    display: flex;
    flex-wrap: wrap;
}

.row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.single_blog {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.single_blog .content_box {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.single_blog .content_box .cta {
    margin-top: auto;
}

/* Exam List Card Height Fix */
.course-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.course-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.course-slide .course-img {
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
}

.course-slide .course-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-slide:hover .course-img img {
    transform: scale(1.05);
}

.course-slide .course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: white;
}

.course-slide .course-content h3 {
    margin-bottom: 15px;
    line-height: 1.3;
    flex: 1;
}

.course-slide .course-content h3 a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.4;
}

.course-slide .course-content h3 a:hover {
    color: #2eca7f;
}

.course-slide .course-content span {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.course-slide .course-content span i {
    color: #2eca7f;
    width: 16px;
    text-align: center;
}

.course-slide .course-content span:last-child {
    margin-bottom: 0;
}

/* Course date badge positioning */
.course-slide .course-date {
    position: absolute;
    top: 10%;
    left: 4%;
    z-index: 2;
}

/* Left-aligned course date (price) */
.course-slide .course-date-left {
    left: 4%;
    right: auto;
}

/* Right-aligned badges container */
.course-slide .course-right-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Right-aligned pre-registration end date */
.course-slide .pre-reg-end-date-right {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    margin-bottom: 0;
}

/* Right-aligned pin icon */
.course-slide .pin-icon-right {
    position: static;
    top: auto;
    right: auto;
    margin-bottom: 0;
}

.course-slide .course-date .month {
    background: #667eea;
    color: white;
    font-size: 20px;
    font-weight: 700;
    width: 75px;
    height: 75px;
    line-height: 75px;
    text-align: center;
    border-radius: 100px;
    display: inline-block;
}


/* Responsive adjustments for exam cards */
@media (max-width: 768px) {
    .course-slide .course-content {
        padding: 15px;
    }
    
    .course-slide .course-content h3 a {
        font-size: 16px;
    }
    
    .course-slide .course-content span {
        font-size: 13px;
    }
    
    .course-slide .course-img img {
        height: 180px;
    }
    
    /* Adjust badge positioning on mobile */
    .course-slide .course-right-badges {
        top: 8px;
        right: 8px;
        gap: 6px;
    }
    
    .course-slide .course-date-left {
        left: 3%;
        top: 8%;
    }
}

@media (max-width: 480px) {
    .course-slide .course-content {
        padding: 12px;
    }
    
    .course-slide .course-content h3 a {
        font-size: 15px;
    }
    
    .course-slide .course-content span {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .course-slide .course-img img {
        height: 160px;
    }
    
    /* Further adjust badge positioning on small mobile */
    .course-slide .course-right-badges {
        top: 6px;
        right: 6px;
        gap: 4px;
    }
    
    .course-slide .course-date-left {
        left: 2%;
        top: 6%;
    }
    
    .course-slide .course-date .month {
        width: 65px;
        height: 65px;
        line-height: 65px;
        font-size: 18px;
    }
}

/* Subjects Page Styling */
.subjects-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0;
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.subject-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.subject-image {
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.subject-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subject-card:hover .subject-image img {
    transform: scale(1.05);
}

.subject-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.subject-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.subject-description {
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px 0;
    flex: 1;
}

.subject-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.subject-link:hover {
    color: #1d4ed8;
    transform: translateX(3px);
}

.subject-link svg {
    transition: transform 0.3s ease;
}

.subject-link:hover svg {
  transform: translateX(2px);
}

/* Subject Actions */
.subject-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.subject-link-secondary {
  background-color: #f8f9fa;
  color: #6c757d;
  border: 1px solid #e9ecef;
}

.subject-link-secondary:hover {
  background-color: #e9ecef;
  color: #495057;
  transform: translateX(3px);
}

/* Exam Model Card Actions */
.exam-model-header {
  padding: 30px;
  text-align: center;
}

.exam-model-actions {
  padding: 0 30px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exam-model-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 12px 20px;
  border-radius: 8px;
  background-color: #f0f7ff;
  border: 1px solid #e0f2fe;
}

.exam-model-link:hover {
  color: #1d4ed8;
  background-color: #e0f2fe;
  transform: translateX(3px);
  text-decoration: none;
}

.exam-model-link-secondary {
  background-color: #f8f9fa;
  color: #6c757d;
  border: 1px solid #e9ecef;
}

.exam-model-link-secondary:hover {
  background-color: #e9ecef;
  color: #495057;
  transform: translateX(3px);
}

.exam-model-link svg {
  transition: transform 0.3s ease;
}

.exam-model-link:hover svg {
  transform: translateX(2px);
}

.back-home-section {
    padding: 40px 0;
    background: white;
}

.back-home-link {
    text-align: center;
}

.back-home-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-home-link a:hover {
    color: #333;
    transform: translateX(-3px);
}

.back-home-link svg {
    transition: transform 0.3s ease;
}

.back-home-link a:hover svg {
    transform: translateX(-2px);
}

/* Topics Page Styling */
.topics-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.topics-table-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.topics-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.topics-table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.topics-table th {
    padding: 20px 25px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topics-table td {
    padding: 5px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.topics-table tbody tr {
    transition: all 0.3s ease;
}

.topics-table tbody tr:hover {
    background-color: #f8f9fa;
}

.topic-number {
    font-weight: 600;
    color: #2563eb;
    width: 80px;
    text-align: center;
}

.topic-name {
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.topic-name a:hover {
    color: #2563eb;
}

.topic-action {
    text-align: right;
    width: 150px;
}

.topic-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: #f0f7ff;
}

.topic-link:hover {
    color: #1d4ed8;
    background-color: #e0f2fe;
    transform: translateX(3px);
}

.topic-link svg {
    transition: transform 0.3s ease;
}

.topic-link:hover svg {
    transform: translateX(2px);
}

.back-section {
    padding: 40px 0;
    background: white;
}

.back-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.back-link:hover {
    color: #333;
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .subjects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .subject-content {
        padding: 25px;
    }
    
    .subject-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .subjects-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .subject-content {
        padding: 20px;
    }
}

/* Responsive Design for Topics Table */
@media (max-width: 768px) {
    .topics-table-container {
        margin: 0 20px;
        border-radius: 8px;
    }
    
    .topics-table {
        font-size: 0.9rem;
    }
    
    .topics-table th,
    .topics-table td {
        padding: 15px 20px;
    }
    
    .topic-action {
        width: auto;
    }
    
    .topic-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .back-links {
        gap: 20px;
    }
    
    .back-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .topics-section {
        padding: 60px 0;
    }
    
    .topics-table-container {
        margin: 0 15px;
    }
    
    .topics-table th,
    .topics-table td {
        padding: 12px 15px;
    }
    
    .topics-table th {
        font-size: 0.85rem;
    }
    
    .topic-number {
        width: 60px;
        font-size: 0.9rem;
    }
    
    .topic-name {
        font-size: 0.9rem;
    }
    
    .back-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Exam Models List Page Styling */
.exam-models-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.exam-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Exam model list page cards - more specific selector */
.exam-models-section .exam-model-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.exam-models-section .exam-model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.exam-models-section .exam-model-header {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exam-models-section .exam-model-actions {
  border-top: 1px solid #f0f0f0;
  background-color: #fafafa;
}

.exam-models-section .exam-model-icon {
    text-align: center;
    margin-bottom: 20px;
}

.exam-models-section .exam-model-icon img {
    width: 67px;
    height: 67px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.exam-models-section .exam-model-card:hover .exam-model-icon img {
    transform: scale(1.1);
}

.exam-models-section .exam-model-content {
    text-align: center;
}

.exam-models-section .exam-model-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.exam-models-section .exam-model-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exam-models-section .stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.exam-models-section .stat-item i {
    color: #2563eb;
    font-size: 0.85rem;
}

.exam-models-section .empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design for Exam Models */
@media (max-width: 768px) {
  .exam-models-section .exam-models-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
  
  .exam-models-section .exam-model-header {
    padding: 25px;
  }
  
  .exam-models-section .exam-model-actions {
    padding: 0 25px 25px 25px;
  }
  
  .exam-models-section .exam-model-title {
    font-size: 1.2rem;
  }
  
  .subject-actions {
    gap: 8px;
  }
  
  .exam-model-actions {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .exam-models-section {
    padding: 60px 0;
  }
  
  .exam-models-section .exam-model-header {
    padding: 20px;
  }
  
  .exam-models-section .exam-model-actions {
    padding: 0 20px 20px 20px;
  }
  
  .exam-models-section .exam-model-title {
    font-size: 1.1rem;
  }
  
  .exam-models-section .stat-item {
    font-size: 0.85rem;
  }
  
  .subject-actions {
    gap: 6px;
  }
  
  .exam-model-actions {
    gap: 6px;
  }
  
  .exam-model-link,
  .subject-link {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
}

/* Exam List Page Styles */
.sidebar-widget {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  padding: 25px;
  margin-bottom: 30px;
}

.widget-title {
  margin-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 15px;
}

.widget-title h3 {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.widget-title h3 i {
  color: #007bff;
  margin-right: 8px;
}

.exam-models-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exam-model-item {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.exam-model-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Sidebar exam model link - more specific selector */
.sidebar-widget .exam-model-link {
  display: flex;
  align-items: center;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar-widget .exam-model-link:hover {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  text-decoration: none;
}

.sidebar-widget .exam-model-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,123,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.sidebar-widget .exam-model-link:hover .exam-model-icon {
  background: rgba(255,255,255,0.2);
}

.sidebar-widget .exam-model-icon i {
  color: #007bff;
  font-size: 16px;
  transition: all 0.3s ease;
}

.sidebar-widget .exam-model-link:hover .exam-model-icon i {
  color: #fff;
}

.exam-model-info {
  flex: 1;
}

.exam-model-name {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.exam-count {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s ease;
}

.sidebar-widget .exam-model-link:hover .exam-count {
  color: rgba(255,255,255,0.8);
}

.exam-model-arrow {
  opacity: 0.5;
  transition: all 0.3s ease;
}

.sidebar-widget .exam-model-link:hover .exam-model-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.exam-model-arrow i {
  font-size: 12px;
}

.no-exam-models {
  text-align: center;
  padding: 30px 20px;
  color: #6c757d;
}

.no-exam-models i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.no-exam-models p {
  margin: 0;
  font-size: 14px;
}

/* Exam List Styles */
.exam-list-section {
  background: #f8f9fa;
}

.exam-list-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.exam-list-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}

.exam-list-section .section-header p {
  font-size: 1.1rem;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
}

.exam-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.exam-list-section .exam-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 280px;
  position: relative;
}

.exam-list-section .exam-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.exam-list-section .exam-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.exam-list-section .exam-link:hover {
  text-decoration: none;
  color: inherit;
}

.exam-list-section .exam-image {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.exam-list-section .exam-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.exam-list-section .exam-card:hover .exam-image img {
  transform: scale(1.1);
}

/* Exam Badge Styles */
.exam-list-section .exam-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 2;
}

.exam-list-section .exam-price-badge {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
}

.exam-list-section .exam-free-badge {
  background: linear-gradient(135deg, #2ed573, #1e90ff);
  color: white;
}

.exam-list-section .badge-text {
  font-size: 12px;
  font-weight: 800;
}

/* Exam Title Overlay */
.exam-list-section .exam-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 40px 25px 25px;
  color: white;
}

.exam-list-section .exam-title-overlay .exam-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.exam-list-section .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.empty-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 20px;
}

.exam-list-section .empty-state p {
  color: #666;
  font-size: 16px;
  margin: 0;
}

/* Responsive Design for Exam List */
@media (max-width: 768px) {
  .exam-list-section .section-header h2 {
    font-size: 2rem;
  }
  
  .exam-list-section .exam-list-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .exam-list-section .exam-card {
    height: 240px;
  }
  
  .exam-list-section .exam-title-overlay .exam-title {
    font-size: 16px;
  }
  
  .exam-list-section .exam-badge {
    top: 15px;
    right: 15px;
    padding: 6px 12px;
  }
  
  .exam-list-section .badge-text {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .exam-list-section {
    padding: 40px 0;
  }
  
  .exam-list-section .section-header h2 {
    font-size: 1.8rem;
  }
  
  .exam-list-section .exam-list-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
  }
  
  .exam-list-section .exam-card {
    height: 220px;
  }
  
  .exam-list-section .exam-title-overlay {
    padding: 30px 20px 20px;
  }
  
  .exam-list-section .exam-title-overlay .exam-title {
    font-size: 15px;
  }
  
  .exam-list-section .exam-badge {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
  }
  
  .exam-list-section .badge-text {
    font-size: 10px;
  }
}

/* Search Filter Styles */
.search-filter-form {
  margin-bottom: 20px;
}

.search-filter-form .form-group {
  margin-bottom: 15px;
}

.search-filter-form .form-control {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-filter-form .form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.search-filter-form .btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.search-filter-form .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Active Filter States */
.exam-model-link.active {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border-radius: 8px;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.exam-model-link.active .exam-model-icon {
  background: rgba(255, 255, 255, 0.2);
}

.exam-model-link.active .exam-model-icon i {
  color: white;
}

.exam-model-link.active .exam-model-name {
  color: white;
}

.exam-model-link.active .exam-count {
  color: rgba(255, 255, 255, 0.8);
}

/* Topic Filter Styles - New Dropdown Design */
.topic-filter-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.topic-all-option {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.topic-all-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.topic-all-link {
  display: flex;
  align-items: center;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-decoration: none;
  color: #333;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.topic-all-link:hover {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #fff;
  text-decoration: none;
}

.topic-all-link.active {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.topic-all-icon {
  width: 40px;
  height: 40px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.topic-all-link:hover .topic-all-icon,
.topic-all-link.active .topic-all-icon {
  background: rgba(255,255,255,0.2);
}

.topic-all-icon i {
  color: #28a745;
  font-size: 16px;
  transition: all 0.3s ease;
}

.topic-all-link:hover .topic-all-icon i,
.topic-all-link.active .topic-all-icon i {
  color: #fff;
}

.topic-all-info {
  flex: 1;
}

.topic-all-info h5 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.topic-all-info span {
  font-size: 12px;
  color: #6c757d;
  font-weight: 500;
  transition: all 0.3s ease;
}

.topic-all-link:hover .topic-all-info span,
.topic-all-link.active .topic-all-info span {
  color: rgba(255,255,255,0.8);
}

/* Topic Select Dropdown */
.topic-select-wrapper {
  position: relative;
}

.topic-select-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.topic-select-header:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-color: rgba(40, 167, 69, 0.3);
}

.topic-select-display {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.topic-select-display i {
  color: #28a745;
  font-size: 16px;
}

.topic-select-display span {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.topic-select-display small {
  font-size: 11px;
  color: #6c757d;
  font-weight: 500;
}

.topic-arrow {
  color: #6c757d;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.topic-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
  max-height: 400px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.topic-search-box {
  position: relative;
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
}

.topic-search-box input {
  padding-right: 35px;
  padding-left: 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  width: 100%;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.topic-search-box input:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

.topic-search-box i {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  font-size: 14px;
}

.topic-options {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

.topic-options::-webkit-scrollbar {
  width: 6px;
}

.topic-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.topic-options::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.topic-options::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.topic-subject-group {
  border-bottom: 1px solid #f8f9fa;
}

.topic-subject-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: #f8f9fa;
  font-size: 13px;
  font-weight: 600;
  color: #495057;
  border-bottom: 1px solid #e9ecef;
}

.topic-subject-header i {
  color: #28a745;
  font-size: 12px;
}

.topic-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f8f9fa;
}

.topic-option:hover {
  background: #f8f9fa;
  color: #28a745;
}

.topic-option.selected {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  font-weight: 600;
}

.topic-option-name {
  font-size: 13px;
  flex: 1;
}

.topic-option-count {
  font-size: 11px;
  color: #6c757d;
  background: #e9ecef;
  padding: 2px 6px;
  border-radius: 10px;
}

.topic-option:hover .topic-option-count {
  background: #28a745;
  color: white;
}

.no-topics {
  text-align: center;
  padding: 30px 20px;
  color: #6c757d;
}

.no-topics i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.no-topics p {
  margin: 0;
  font-size: 14px;
}

/* Responsive Design for Topic Filter */
@media (max-width: 768px) {
  .topic-select-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-height: 80vh;
    z-index: 1001;
  }
  
  .topic-search-box {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
  }
  
  .topic-options {
    max-height: calc(80vh - 80px);
  }
}

/* Loading state for topics */
.topic-loading {
  text-align: center;
  padding: 20px;
  color: #6c757d;
}

.topic-loading i {
  animation: spin 1s linear infinite;
}

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

/* Clear Filters Button */
.btn-outline-secondary {
  border-color: #6c757d;
  color: #6c757d;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  background-color: #6c757d;
  border-color: #6c757d;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* No Exams Found Styles */
.no-exams-found {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin: 20px 0;
}

.no-exams-icon {
  font-size: 64px;
  color: #ccc;
  margin-bottom: 20px;
}

.no-exams-icon i {
  color: #ddd;
}

.no-exams-found h3 {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.no-exams-found p {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.no-exams-actions {
  margin-top: 20px;
}

.no-exams-actions .btn {
  padding: 12px 24px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.no-exams-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive Design for No Exams Found */
@media (max-width: 768px) {
  .no-exams-found {
    padding: 40px 15px;
    margin: 15px 0;
  }
  
  .no-exams-icon {
    font-size: 48px;
  }
  
  .no-exams-found h3 {
    font-size: 20px;
  }
  
  .no-exams-found p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .no-exams-found {
    padding: 30px 10px;
  }
  
  .no-exams-icon {
    font-size: 40px;
  }
  
  .no-exams-found h3 {
    font-size: 18px;
  }
  
  .no-exams-found p {
    font-size: 13px;
  }
}

/* Step-by-Step Exam Styles */
.step-by-step-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f3f4f6;
}

.step-by-step-question-container {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 1rem;
  min-height: 400px;
}

.step-by-step-choice-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid #78787824;
  margin: 1rem 0;
}

.step-by-step-choice-label:hover {
  background-color: #f9fafb;
}

.step-by-step-choice-label:has(input[type="radio"]:checked) {
  background-color: #f9fafb;
  border-color: #2563eb;
}

.step-by-step-sidebar {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.step-by-step-question-nav-item {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0.25rem;
  border-radius: 0.25rem;
  background-color: #e5e7eb;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
}

.step-by-step-question-nav-item:hover {
  background-color: #d1d5db;
}

.step-by-step-question-nav-item.answered {
  background-color: #10b981;
  color: white;
}

.step-by-step-question-nav-item.current {
  background-color: #3b82f6;
  color: white;
}

.step-by-step-subject-section {
  margin-bottom: 1.5rem;
}

.step-by-step-subject-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.step-by-step-navigation-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.step-by-step-btn-nav {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.step-by-step-btn-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.step-by-step-btn-prev {
  background-color: #6b7280;
  color: white;
}

.step-by-step-btn-prev:hover:not(:disabled) {
  background-color: #4b5563;
}

.step-by-step-btn-next {
  background-color: #3b82f6;
  color: white;
}

.step-by-step-btn-next:hover:not(:disabled) {
  background-color: #2563eb;
}

.step-by-step-btn-finish {
  background-color: #059669;
  color: white;
}

.step-by-step-btn-finish:hover {
  background-color: #047857;
}

.step-by-step-progress-info {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 0.375rem;
}

.step-by-step-progress-text {
  font-size: 0.875rem;
  color: #6b7280;
}

.step-by-step-timer-display {
  background-color: #dc2626;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.step-by-step-confirmation-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
}

.step-by-step-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 90%;
  width: 500px;
}

@media only screen and (max-width: 768px) {
  .step-by-step-sidebar {
    position: static;
    margin-bottom: 1rem;
  }
  
  .step-by-step-question-nav-item {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
}

/* Question Reordering Styles */
.questions-reorder-container {
    max-height: 600px;
    overflow-y: auto;
}

.section-group {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.section-header {
    background: #1a2d62;
    color: white;
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.section-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header i {
    font-size: 14px;
}

.section-questions {
    background: white;
    padding: 10px;
}

.exam-question-item {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
  cursor: move;
}

.exam-question-item:hover {
  border-color: #3b82f6;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.exam-question-item.dragging {
  opacity: 0.5;
  transform: rotate(2deg);
}

.question-drag-handle {
  color: #9ca3af;
  margin-right: 12px;
  cursor: grab;
}

.question-drag-handle:active {
  cursor: grabbing;
}

.question-content {
  flex: 1;
  min-width: 0;
}

.question-text {
  font-size: 14px;
  color: #374151;
  margin-bottom: 4px;
  line-height: 1.4;
}

.question-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #6b7280;
}

.meta-tag.subject {
  background: #dbeafe;
  color: #1e40af;
}

.meta-tag.order {
  background: #fef3c7;
  color: #92400e;
}

.question-actions {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}

.btn-move-up,
.btn-move-down {
  background: none;
  border: none;
  color: #6b7280;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-move-up:hover,
.btn-move-down:hover {
  background: #f3f4f6;
  color: #374151;
}

.btn-move-up:disabled,
.btn-move-down:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.remove-question {
  background: none;
  border: none;
  color: #ef4444;
  padding: 4px 6px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.remove-question:hover {
  background: #fef2f2;
}

.panel-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

#save-order-btn {
  font-size: 12px;
  padding: 6px 12px;
}

/* Drag and Drop Visual Feedback */
.exam-question-item.drag-over {
  border-color: #10b981;
  background: #f0fdf4;
}

.exam-question-item.drag-over::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #10b981;
  top: -1px;
}

.arti_single ul>* {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}
.arti_single ul li {
  list-style-color: #6c739d;
  list-style-type: disc;
  padding-left: 20px;
}
.arti_single ul {
  list-style-image: unset;
  list-style-type: disc;
  padding-left: 20px;
}
.arti_single p {
  padding-bottom: 10px;
}
.arti_single h1 {
  padding-bottom: 10px;
}
.arti_single h2 {
  padding-bottom: 10px;
}
.arti_single h3 {
  padding-bottom: 10px;
}
.arti_single h4 {
  padding-bottom: 10px;
}
.arti_single h5 {
  padding-bottom: 10px;
}

.arti_single strong{
  font-weight: 700;
}
.arti_single img{
  max-width: 100%;
  height: auto;
}

/* Exam Participation Styles */
.exam-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f3f4f6;
}

.exam-question-container {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 1rem;
  min-height: 400px;
}
.exam-question-container img{
  max-width: 100%;
  height: auto;
}

.exam-choice-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  border: 1px solid #78787824;
  margin: 1rem 0;
}

.exam-choice-label:hover {
  background-color: #f9fafb;
}

.exam-choice-label:has(input[type="radio"]:checked) {
  background-color: #f9fafb;
  border-color: #2563eb;
}

.exam-choice-radio {
  height: 1rem;
  width: 1rem;
  color: #2563eb;
}

.exam-choice-letter {
  font-weight: 600;
  color: #374151;
  margin-right: 0.5rem;
  min-width: 1.5rem;
}

.exam-choice-text {
  color: #374151;
  flex: 1;
}

.exam-navigation-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.exam-btn-nav {
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.exam-btn-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.exam-btn-prev {
  background-color: #6b7280;
  color: white;
}

.exam-btn-prev:hover:not(:disabled) {
  background-color: #4b5563;
}

.exam-btn-next {
  background-color: #3b82f6;
  color: white;
}

.exam-btn-next:hover:not(:disabled) {
  background-color: #2563eb;
}

.exam-btn-finish {
  background-color: #059669;
  color: white;
}

.exam-btn-finish:hover {
  background-color: #047857;
}

.exam-timer-display {
  background-color: #dc2626;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

.exam-confirmation-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
}

.exam-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 90%;
  width: 500px;
}

/* Answer Sheet Sidebar Styles */
.answer-sheet-sidebar {
  background: #fefcf8;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 12px;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  border: 2px dashed #d4a574;
}

.answer-sheet-header {
  background: #fcd6c7;
  color: #2d3748;
  margin: -12px -12px 15px -12px;
  padding: 15px;
  border-radius: 12px 12px 0 0;
  text-align: center;
  position: relative;
  border: 2px dashed #d69e2e;
  border-bottom: 3px dashed #d69e2e;
}

.answer-sheet-header::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 15px;
  right: 15px;
  bottom: 10px;
  border: 1px dashed #b7791f;
  border-radius: 8px;
  pointer-events: none;
}

.answer-sheet-header::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 10px;
  right: 10px;
  bottom: 5px;
  border: 1px dashed #e2a317;
  border-radius: 10px;
  pointer-events: none;
}

.answer-sheet-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #744210;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.answer-sheet-user-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  background: rgba(183, 121, 31, 0.1);
  color: #744210;
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  border: 1px dashed #d69e2e;
}

.answer-sheet-subtitle {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  font-style: italic;
  color: #8b4513;
}

.answer-sheet-progress {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 15px;
}

.progress-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.progress-stat {
  text-align: center;
  padding: 6px;
  background: white;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.progress-stat-number {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 2px;
}

.progress-stat-label {
  font-size: 10px;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress-bar-container {
  background: #e2e8f0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #48bb78 0%, #38a169 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.answer-sheet-section {
  margin-bottom: 12px;
}

.answer-sheet-subject-title {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: #f77213;
  color: white;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.answer-bubbles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  padding: 8px;
  background: #fefcf8;
  border: 1px dashed #d4a574;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.answer-bubble {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid #cbd5e0;
  background: white;
  color: #718096;
  margin-bottom: 4px;
}

.answer-bubble:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.answer-bubble.unanswered {
  border-color: #e2e8f0;
  background: #f7fafc;
  color: #a0aec0;
}



.answer-bubble.current {
  border-color: #4299e1;
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(66, 153, 225, 0.4);
  animation: pulse 2s infinite;
}

.answer-bubble.answered.current {
  border-color: #38a169;
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

/* Enhanced bubble design - show variant inside bubble for answered questions */
.answer-bubble.answered {
  border-color: #48bb78;
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(72, 187, 120, 0.3);
  position: relative;
}

.answer-bubble.answered::before {
  content: attr(data-choice);
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #2d3748;
  color: white;
  font-size: 7px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.answer-sheet-finish {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 2px dashed #cbd5e0;
}

.finish-exam-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.finish-exam-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(229, 62, 62, 0.4);
  background: linear-gradient(135deg, #c53030 0%, #9c2626 100%);
}

.answer-sheet-legend {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 6px;
  background: #f7fafc;
  border-radius: 4px;
  font-size: 9px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid;
}

.legend-dot.unanswered {
  background: #f7fafc;
  border-color: #e2e8f0;
}

.legend-dot.answered {
  background: #48bb78;
  border-color: #48bb78;
}

.legend-dot.current {
  background: #4299e1;
  border-color: #4299e1;
}

.legend-text {
  color: #718096;
  font-weight: 500;
}

/* Mobile responsiveness for exam participation */
@media (max-width: 768px) {
  .exam-question-container {
    padding: 1.5rem;
    min-height: 300px;
  }
  
  .exam-choice-label {
    padding: 0.5rem;
    margin: 0.75rem 0;
  }
  
  .exam-navigation-buttons {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
  }
  
  .exam-btn-nav {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .exam-modal-content {
    padding: 1.5rem;
    width: 90%;
  }
}

/* Mobile responsiveness for answer sheet */
@media (max-width: 768px) {
  .answer-sheet-sidebar {
    position: static;
    margin-bottom: 15px;
    padding: 10px;
  }
  
  .answer-sheet-header {
    margin: -10px -10px 12px -10px;
    padding: 12px;
  }
  
  .answer-sheet-title {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 6px;
  }
  
  .answer-sheet-user-name {
    font-size: 12px;
    padding: 3px 10px;
    margin-bottom: 5px;
  }
  
  .answer-sheet-subtitle {
    font-size: 10px;
  }
  
  .answer-bubbles-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    padding: 6px;
  }
  
  .answer-bubble {
    width: 24px;
    height: 24px;
    font-size: 9px;
    margin-bottom: 3px;
  }
  
  .answer-bubble.answered::before {
    width: 10px;
    height: 10px;
    font-size: 6px;
    top: -1px;
    right: -1px;
  }
  
  .progress-stats {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  
  .answer-sheet-legend {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  
  .legend-item {
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .answer-bubbles-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 5px;
  }
  
  .answer-bubble {
    width: 22px;
    height: 22px;
    font-size: 8px;
    margin-bottom: 3px;
  }
  
  .answer-bubble.answered::before {
    width: 9px;
    height: 9px;
    font-size: 5px;
    top: -1px;
    right: -1px;
  }
}

/* Public Profile Styles */
.public-profile-container {
    padding: 80px 0 50px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.public-profile-header {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.profile-avatar {
    position: relative;
    display: inline-block;
}

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2eca7f;
}

.profile-initial {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2eca7f, #667eea);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    margin: 0 auto;
}

.profile-info {
    padding-left: 20px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.profile-username {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 15px;
}

.profile-bio {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.profile-meta {
    margin-bottom: 20px;
}

.profile-meta-item {
    display: inline-block;
    margin-right: 25px;
    color: #666;
    font-size: 0.95rem;
}

.profile-meta-item i {
    margin-right: 8px;
    color: #2eca7f;
}

.profile-actions {
    margin-top: 20px;
}

.profile-actions .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.profile-stats-section,
.recent-exams-section,
.no-exams-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2eca7f;
}

.section-title i {
    margin-right: 10px;
    color: #2eca7f;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2eca7f;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.public-profile-table {
    margin-top: 20px;
}

.public-profile-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #2eca7f;
    padding: 15px;
}

.public-profile-table td {
    padding: 15px;
    vertical-align: middle;
}

.exam-info strong {
    display: block;
    margin-bottom: 5px;
}

.exam-link {
    color: #2eca7f;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.exam-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.exam-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.exam-badge-free {
    background-color: #d4edda;
    color: #155724;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.exam-badge-paid {
    background-color: #cce7ff;
    color: #004085;
}

.score-display {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2eca7f;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.privacy-notice {
    margin-top: 20px;
}

.privacy-notice .alert {
    border-radius: 10px;
}

.privacy-notice .alert i {
    margin-right: 8px;
}

/* Responsive Design for Public Profile */
@media (max-width: 768px) {
    .public-profile-container {
        padding: 60px 0 30px;
    }
    
    .public-profile-header {
        padding: 25px;
        text-align: center;
    }
    
    .profile-info {
        padding-left: 0;
        margin-top: 20px;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-meta-item {
        display: block;
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .profile-stats-section,
    .recent-exams-section,
    .no-exams-section {
        padding: 20px;
    }
    
    .stat-card {
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Top Performers Section */
.top-performers-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.top-performers-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.performer-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.performer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.performer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #2eca7f, #667eea);
}

.performer-rank {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #2eca7f, #667eea);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(46, 202, 127, 0.3);
}

.performer-avatar {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 10px;
}

.performer-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2eca7f;
    box-shadow: 0 4px 12px rgba(46, 202, 127, 0.2);
}

.performer-initial {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2eca7f, #667eea);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border: 3px solid #2eca7f;
    box-shadow: 0 4px 12px rgba(46, 202, 127, 0.2);
    margin: 0 auto;
}

.performer-info {
    text-align: center;
}

.performer-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.performer-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.performer-name a:hover {
    color: #2eca7f;
}

.performer-exam {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    min-height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.performer-exam a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.performer-exam a:hover {
    color: #000;
}

.performer-score {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
    background: rgba(46, 202, 127, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    min-width: 80px;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.nav-btn {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: white;
    color: #2eca7f;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #2eca7f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 202, 127, 0.3);
}

.nav-btn:active {
    transform: translateY(0);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Special styling for top performers */
.performer-card:nth-child(1) .performer-rank {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.performer-card:nth-child(2) .performer-rank {
    background: linear-gradient(45deg, #c0c0c0, #e5e5e5);
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4);
}

.performer-card:nth-child(3) .performer-rank {
    background: linear-gradient(45deg, #cd7f32, #daa520);
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4);
}

/* Responsive Design for Top Performers */
@media (max-width: 768px) {
    .top-performers-carousel {
        padding: 0 15px;
    }
    
    .carousel-container {
        gap: 15px;
        padding: 15px 0;
    }
    
    .performer-card {
        min-width: 250px;
        max-width: 280px;
        padding: 18px;
    }
    
    .performer-rank {
        width: 30px;
        height: 30px;
        font-size: 12px;
        top: 12px;
        right: 12px;
    }
    
    .performer-avatar img,
    .performer-initial {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .performer-name {
        font-size: 0.9rem;
    }
    
    .performer-exam {
        font-size: 0.8rem;
        min-height: 2.2em;
    }
    
    .performer-score {
        font-size: 1rem;
        padding: 6px 12px;
        min-width: 70px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .performer-card {
        min-width: 220px;
        max-width: 250px;
        padding: 15px;
    }
    
    .performer-rank {
        width: 28px;
        height: 28px;
        font-size: 11px;
        top: 10px;
        right: 10px;
    }
    
    .performer-avatar img,
    .performer-initial {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .performer-name {
        font-size: 0.85rem;
    }
    
    .performer-exam {
        font-size: 0.75rem;
        min-height: 2em;
    }
    
    .performer-score {
        font-size: 0.9rem;
        padding: 5px 10px;
        min-width: 60px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Animation for performer cards */
.performer-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.performer-card:nth-child(1) { animation-delay: 0.1s; }
.performer-card:nth-child(2) { animation-delay: 0.2s; }
.performer-card:nth-child(3) { animation-delay: 0.3s; }
.performer-card:nth-child(4) { animation-delay: 0.4s; }
.performer-card:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Top Performers Sidebar */
.sidebar_title h4 i.fa-trophy {
    color: #ffd700;
    margin-right: 8px;
}

.top-performers-sidebar {
    padding: 0;
}

.performer-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.performer-item:hover {
    background-color: #f8f9fa;
}

.performer-item:last-child {
    border-bottom: none;
}

.performer-rank {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #2eca7f, #667eea);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.performer-details {
    flex: 1;
    min-width: 0;
}

.performer-name {
    display: block;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.performer-name:hover {
    color: #2eca7f;
    text-decoration: underline;
}

.performer-score {
    color: #1a2d62;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 2px;
    line-height: 1.2;
}

.performer-date {
    color: #666;
    font-size: 11px;
}

.performer-avatar {
    width: 35px;
    height: 35px;
    margin-left: 10px;
    flex-shrink: 0;
}

.performer-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #2eca7f;
}

.performer-avatar-initial {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2eca7f, #667eea);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    margin-left: 10px;
    flex-shrink: 0;
    border: 2px solid #2eca7f;
}

/* Responsive adjustments for sidebar */
@media (max-width: 768px) {
    .performer-item {
        padding: 10px 8px;
    }
    
    .performer-rank {
        width: 25px;
        height: 25px;
        font-size: 12px;
        margin-right: 8px;
    }
    
    .performer-name {
        font-size: 13px;
    }
    
    .performer-score {
        font-size: 12px;
    }
    
    .performer-date {
        font-size: 10px;
    }
    
    .performer-avatar,
    .performer-avatar-initial {
        width: 30px;
        height: 30px;
        margin-left: 8px;
    }
    
    .performer-avatar-initial {
        font-size: 12px;
    }
}

/* Form Help Text Styles */
.form-group .help-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 6px;
    line-height: 1.4;
    font-style: italic;
    transition: color 0.3s ease;
}

.form-group.focused .help-text {
    color: #2eca7f;
}

/* Enhanced Form Validation Styles */
.form-group .invalid-feedback {
    font-size: 0.85rem;
    margin-top: 6px;
    color: #dc3545;
    font-weight: 500;
}

.form-group .invalid-feedback::before {
    content: "⚠️ ";
    margin-right: 4px;
}

/* Password Strength Indicator Enhancements */
.password-strength {
    margin-top: 10px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #e9ecef;
}

.password-strength.very-weak {
    border-left-color: #dc3545;
    background: #fff5f5;
}

.password-strength.weak {
    border-left-color: #fd7e14;
    background: #fff8f0;
}

.password-strength.fair {
    border-left-color: #ffc107;
    background: #fffbeb;
}

.password-strength.good {
    border-left-color: #28a745;
    background: #f0fff4;
}

.password-strength.strong {
    border-left-color: #2eca7f;
    background: #f0fff8;
}

/* Auth Form Specific Styles */
.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-form .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: block;
}

.auth-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-form .form-control:focus {
    border-color: #2eca7f;
    box-shadow: 0 0 0 0.2rem rgba(46, 202, 127, 0.25);
    outline: none;
}

.auth-form .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.auth-form .form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Terms Checkbox Enhancement */
.terms-check {
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.terms-check .form-check-label {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057;
}

.terms-check .terms-link {
    color: #2eca7f;
    text-decoration: none;
    font-weight: 600;
}

.terms-check .terms-link:hover {
    text-decoration: underline;
    color: #1e8f5f;
}

/* Submit Button Enhancement */
.auth-submit {
    width: 100%;
    padding: 14px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: linear-gradient(45deg, #2eca7f, #1e8f5f);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 202, 127, 0.3);
    background: linear-gradient(45deg, #1e8f5f, #2eca7f);
}

.auth-submit:active {
    transform: translateY(0);
}

.auth-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.auth-submit.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design for Help Text */
@media (max-width: 768px) {
    .form-group .help-text {
        font-size: 0.8rem;
        margin-top: 5px;
    }
    
    .auth-form .form-control {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .auth-submit {
        padding: 12px 18px;
        font-size: 1rem;
    }
}

/* Form Options Styling */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.form-options .form-check {
    margin: 0;
}

.form-options .form-check-label {
    font-size: 0.9rem;
    color: #6c757d;
    cursor: pointer;
    user-select: none;
}

.form-options .form-check-input {
    margin-right: 8px;
    cursor: pointer;
}

.form-options .form-check-input:checked {
    background-color: #2eca7f;
    border-color: #2eca7f;
}

.forgot-password {
    color: #2eca7f;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #1e8f5f;
    text-decoration: underline;
}

/* Enhanced Social Auth Section */
.social-auth-section {
    text-align: center;
    margin: 20px 0;
}

.social-auth-text {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    position: relative;
}

.social-auth-text::before,
.social-auth-text::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: #e9ecef;
}

.social-auth-text::before {
    left: 0;
}

.social-auth-text::after {
    right: 0;
}

.social-buttons {
    margin-bottom: 20px;
}

.divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider span {
    background: white;
    padding: 0 15px;
    color: #6c757d;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 0;
}

/* Auth Footer Enhancement */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.auth-footer-text {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

.auth-link {
    color: #2eca7f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #1e8f5f;
    text-decoration: underline;
}

/* Enhanced styling for free exam labels */
.course-slide .course-date .month.free {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    padding: 10px 5px;
    text-align: center;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4), 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 165, 0, 0.4);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    animation: pulse-free 2s infinite, border-glow 3s ease-in-out infinite alternate;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 95px;
    height: 60px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-slide .course-date .month.free::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ffd700, #ffa500, #ff6b6b, #ee5a24, #ffd700);
    background-size: 400% 400%;
    border-radius: 11px;
    z-index: -1;
    animation: border-rotate 3s linear infinite;
}

@keyframes pulse-free {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4), 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 165, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(238, 90, 36, 0.6), 0 0 25px rgba(255, 215, 0, 0.8), 0 0 35px rgba(255, 165, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4), 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 165, 0, 0.4);
    }
}

@keyframes border-glow {
    0% {
        box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4), 0 0 20px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 165, 0, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4), 0 0 30px rgba(255, 215, 0, 0.9), 0 0 45px rgba(255, 165, 0, 0.7);
    }
}

@keyframes border-rotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



/* Hover effects for free exam cards */
.course-slide:has(.month.free) {
    transform: translateY(-5px);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.02), rgba(238, 90, 36, 0.02));
    border: 2px solid rgba(255, 107, 107, 0.1);
}

.course-slide:has(.month.free):hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(238, 90, 36, 0.15);
    border-color: rgba(255, 107, 107, 0.3);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05), rgba(238, 90, 36, 0.05));
}

.course-slide:has(.month.free) .course-content {
    border-left: 4px solid #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.03), rgba(238, 90, 36, 0.03));
}



/* Responsive adjustments for free label */
@media (max-width: 768px) {
    .course-slide .course-date .month.free {
        font-size: 14px;
        padding: 6px 10px;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .course-slide .course-date .month.free {
        font-size: 12px;
        padding: 5px 8px;
        min-height: 45px;
    }
}

/* Contact Form Styles */


.contact .form-group {
    margin-bottom: 20px;
}

.contact .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.contact label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.contact .btn_one {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact .btn_one:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact .btn_one:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.free-exam-badge {
  color: #dc3545;
  font-weight: 700;
}

/* Top Bar Styles */
.top-bar {
  background: #2eca7f;
  color: white;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-item i {
  color: white;
  font-size: 16px;
}

.contact-item a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end;
}

.social-text {
  color: white;
  font-size: 13px;
  margin-right: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link i {
  font-size: 16px;
}

/* Enhanced styles for existing logo-contact structure */
.logo-contact .top-bar-contact {
  display: flex;
  gap: 20px;
  align-items: center;
}

.logo-contact .top-bar-social {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end;
}

.logo-contact .social-text {
  color: white;
  font-size: 13px;
  margin-right: 10px;
}

.logo-contact .single-top-contact {
  display: flex;
  align-items: center;
}

.logo-contact .single-top-contact i {
  color: white;
  font-size: 16px;
}

.logo-contact .single-top-contact h4 {
  color: white;
  margin: 0;
  font-size: 14px;
}

.logo-contact .single-top-contact h4 a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 700;
}

.logo-contact .single-top-contact h4 a:hover {
  color: #ff0000;
}

.top_f_youtube {
  background: #ff0000;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.top_f_youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

.top_f_whatsapp {
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.top_f_whatsapp:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

/* Responsive adjustments for top bar */
@media (max-width: 768px) {
  .top-bar {
    padding: 6px 0;
    font-size: 13px;
  }
  
  .top-bar-contact {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .top-bar-social {
    justify-content: flex-start;
    gap: 12px;
  }
  
  .social-text {
    display: none;
  }
  
  .logo-contact .top-bar-contact {
    margin-bottom: 10px;
    gap: 0px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .logo-contact .top-bar-social {
    justify-content: flex-start;
    gap: 12px;
  }
  
  .logo-contact .social-text {
    display: none;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 5px 0;
    font-size: 12px;
  }
  
  .logo-contact .single-top-contact h4 {
    font-size: 13px;
  }
  
  /* Mobile-specific top bar optimizations */
  .logo-contact {
    padding: 8px 0;
  }
  
  .logo-contact .single-top-contact {
    margin-bottom: 4px;
  }
  
  .logo-contact .single-top-contact:last-child {
    margin-bottom: 0;
  }
  
  .logo-contact .single-top-contact i {
    font-size: 14px;
    margin-right: 8px;
  }
  
  .logo-contact .top_social_profile ul li a {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
  }
  
  .logo-contact .social-text {
    font-size: 12px;
    margin-right: 8px;
  }
}

/* Banner Styles */
.hero-banner-section {
  padding: 20px 0;
  background: linear-gradient(135deg, #dff4f2 0%, #e9f8f6 25%, #fff7f8 50%, #ffeff0 75%, #fff5f6 100%);
  position: relative;
  overflow: hidden;
}

.hero-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(0,0,0,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(0,0,0,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(0,0,0,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(0,0,0,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.4;
  pointer-events: none;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: bannerGlow 3s ease-in-out infinite alternate;
}

@keyframes bannerGlow {
  0% {
    box-shadow: 0 0 20px rgba(223, 244, 242, 0.3);
  }
  100% {
    box-shadow: 0 0 30px rgba(233, 248, 246, 0.5);
  }
}

.hero-banner-content {
  display: flex;
  align-items: center;
  padding: 40px;
  gap: 40px;
}

.hero-banner-text {
  flex: 1;
  color: #333;
}

.hero-banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-banner-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-banner-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-banner-btn-primary {
  background: #2eca7f;
  color: white;
  border-color: #2eca7f;
}

.hero-banner-btn-primary:hover {
  background: #25a870;
  border-color: #25a870;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 202, 127, 0.3);
}

.hero-banner-btn-secondary {
  background: #1a2d62;
  color: white;
  border-color: #1a2d62;
}

.hero-banner-btn-secondary:hover {
  background: #454545;
  border-color: #454545;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.hero-banner-image {
  flex: 0 0 300px;
  text-align: center;
}

.hero-banner-image .hero-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-banner-image .hero-banner-icon i {
  font-size: 80px;
  color: #2c5aa0;
  text-shadow: 0 2px 10px rgba(44, 90, 160, 0.2);
}

/* Hide icon on mobile devices */
@media (max-width: 768px) {
  .hero-banner-image .hero-banner-icon {
    display: none;
  }
}

/* Sidebar Banner Styles */
.sidebar-banner {
  background: linear-gradient(135deg, #dff4f2 0%, #e9f8f6 25%, #fff7f8 50%, #ffeff0 75%, #fff5f6 100%);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(223, 244, 242, 0.3);
  transition: all 0.3s ease;
}

.sidebar-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(223, 244, 242, 0.4);
}

.sidebar-banner-content {
  padding: 25px;
  color: #333;
}

.sidebar-banner-header {
  margin-bottom: 20px;
  text-align: center;
}

.sidebar-banner-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sidebar-banner-title i {
  color: #ffd700;
}

.sidebar-banner-body {
  text-align: center;
}

.sidebar-banner-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
  opacity: 0.9;
}

.sidebar-banner-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 25px;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.8;
}

.sidebar-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.sidebar-banner-btn-primary {
  background: #2eca7f;
  color: white;
  border-color: #2eca7f;
}

.sidebar-banner-btn-primary:hover {
  background: #25a870;
  border-color: #25a870;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 202, 127, 0.3);
}

.sidebar-banner-btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.sidebar-banner-btn-secondary:hover {
  background: white;
  color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive Banner Styles */
@media (max-width: 768px) {
  .hero-banner-content {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 30px;
  }
  
  .hero-banner-title {
    font-size: 2rem;
  }
  
  .hero-banner-description {
    font-size: 1rem;
  }
  
  .hero-banner-actions {
    justify-content: center;
  }
  
  .hero-banner-image {
    flex: 0 0 auto;
  }
  
  .sidebar-banner-stats {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-banner-section {
    padding: 20px 0;
  }
  
  .hero-banner-content {
    padding: 25px 15px;
  }
  
  .hero-banner-title {
    font-size: 1.8rem;
  }
  
  .hero-banner-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-banner-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Daily Exam Information Styles */
.daily-exam-info {
  padding: 40px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  margin-bottom: 20px;
}

.daily-exam-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 25px;
  position: relative;
  overflow: hidden;
}

.daily-exam-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #dff4f2 0%, #e9f8f6 25%, #fff7f8 50%, #ffeff0 75%, #fff5f6 100%);
  opacity: 0.1;
  z-index: 0;
}

.daily-exam-icon {
  flex: 0 0 80px;
  height: 80px;
  background: linear-gradient(135deg, #2eca7f, #25a870);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.daily-exam-icon i {
  font-size: 35px;
  color: white;
}

.daily-exam-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.daily-exam-content h3 {
  color: #2c5aa0;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.daily-exam-time {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.daily-exam-time i {
  color: #2eca7f;
  font-size: 1.2rem;
}

.daily-exam-time strong {
  color: #2c5aa0;
}

.daily-exam-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

.daily-exam-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1ea952;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.whatsapp-info {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

/* Responsive Daily Exam Info */
@media (max-width: 768px) {
  .daily-exam-card {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    gap: 20px;
  }
  
  .daily-exam-icon {
    flex: 0 0 70px;
    height: 70px;
  }
  
  .daily-exam-icon i {
    font-size: 30px;
  }
  
  .daily-exam-content h3 {
    font-size: 1.5rem;
    justify-content: center;
  }
  
  .daily-exam-time {
    justify-content: center;
  }
  
  .daily-exam-actions {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

/* Compact Daily Exam Info Styles for Top Section */
.daily-exam-card-compact {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 15px;
  padding: 20px 25px;
  box-shadow: 0 8px 32px rgba(46, 202, 127, 0.15), 0 4px 16px rgba(44, 90, 160, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(46, 202, 127, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: slideInUp 0.6s ease-out;
}

.daily-exam-card-compact:hover {
  /* Hover effects removed */
}

           .daily-exam-card-compact::before {
             content: '';
             position: absolute;
             top: 0;
             left: 0;
             right: 0;
             bottom: 0;
             background: linear-gradient(135deg, #fff3f0 0%, #ffebe7 25%, #ffe7e8 50%, #fffaed 75%, #fff3f0 100%);
             opacity: 0.7;
             z-index: 0;
             animation: gradientShift 8s ease-in-out infinite;
           }

.daily-exam-card-compact::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #2eca7f, #25d366, #2eca7f, #25a870);
  border-radius: 17px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 3s ease-in-out infinite;
}

.daily-exam-card-compact:hover::after {
  /* Hover effects removed */
}

.daily-exam-icon-compact {
  flex: 0 0 50px;
  height: 50px;
  background: linear-gradient(135deg, #2eca7f, #25a870);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(46, 202, 127, 0.4);
}

.daily-exam-icon-compact i {
  font-size: 22px;
  color: white;
  animation: bounce 2s ease-in-out infinite;
}

.daily-exam-content-compact {
  flex: 1;
  position: relative;
  z-index: 1;
}

.daily-exam-content-compact h4 {
  color: #1a4a8a;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  margin: 0 0 8px 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  animation: textGlow 3s ease-in-out infinite;
}

.daily-exam-description-compact {
  color: #444;
  line-height: 1.4;
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.whatsapp-link-compact {
  color: #25d366;
  text-decoration: none;
  font-weight: 700;
  margin-left: 8px;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 8px;
  border-radius: 6px;
}

.whatsapp-link-compact:hover {
  color: #1ea952;
  text-decoration: none;
  /* Hover effects removed */
}

.whatsapp-link-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #25d366, #1ea952);
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.whatsapp-link-compact:hover::before {
  /* Hover effects removed */
}

/* Attention-grabbing animations */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(46, 202, 127, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(46, 202, 127, 0.6);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-3px);
  }
  60% {
    transform: translateY(-2px);
  }
}

@keyframes borderGlow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  50% {
    text-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Compact Daily Exam Info */
@media (max-width: 768px) {
  .daily-exam-card-compact {
    flex-direction: column;
    text-align: center;
    padding: 18px 20px;
    gap: 15px;
  }
  
  .daily-exam-icon-compact {
    display: none;
  }
  
  .daily-exam-content-compact h4 {
    font-size: 1.1rem;
  }
  
  .daily-exam-description-compact {
    font-size: 0.9rem;
  }
}

/* Error Pages Styling */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.error-container {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.error-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: #667eea;
    margin: 0;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.error-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.error-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.error-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

.error-btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.error-btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

.error-icon {
    font-size: 24px;
    margin-bottom: 30px;
    color: #667eea;
}

.error-illustration {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-container {
        padding: 40px 20px;
        margin: 20px;
    }
    
    .error-code {
        font-size: 80px;
    }
    
    .error-title {
        font-size: 24px;
    }
    
    .error-message {
        font-size: 16px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Animation for error pages */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-container {
    animation: fadeInUp 0.6s ease-out;
}

.error-code {
    animation: fadeInUp 0.8s ease-out;
}

.error-title {
    animation: fadeInUp 1s ease-out;
}

.error-message {
    animation: fadeInUp 1.2s ease-out;
}

.error-actions {
    animation: fadeInUp 1.4s ease-out;
}

/* Wallet Topup Form Styling */
.amount-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input {
  padding-right: 60px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  height: 60px !important;
  border-radius: 15px !important;
  border: 2px solid #e9ecef !important;
  transition: all 0.3s ease !important;
}

.amount-input:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 0.3rem rgba(102, 126, 234, 0.15) !important;
  transform: translateY(-2px) !important;
}

.amount-suffix {
  position: absolute;
  right: 20px;
  color: #667eea;
  font-weight: 600;
  font-size: 16px;
  pointer-events: none;
}

.help-text {
  color: #6c757d;
  font-size: 14px;
  margin-top: 8px;
  font-style: italic;
}

.quick-amount-section {
  margin-top: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 15px;
  border: 1px solid #e9ecef;
}

.quick-amount-label {
  display: block;
  font-weight: 600;
  color: #495057;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-amount-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-amount-btn {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  position: relative;
  overflow: hidden;
}

.quick-amount-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.quick-amount-btn:hover::before {
  opacity: 1;
}

.quick-amount-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

.quick-amount-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.quick-amount-btn.active::before {
  opacity: 0;
}

.amount-value {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}

.amount-currency {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.quick-amount-btn.active .amount-value,
.quick-amount-btn.active .amount-currency {
  color: white;
}

.topup-submit-btn {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  border: none !important;
  border-radius: 15px !important;
  padding: 18px 40px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3) !important;
  transition: all 0.3s ease !important;
}

.topup-submit-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4) !important;
  background: linear-gradient(135deg, #20c997, #28a745) !important;
}

.topup-submit-btn:active {
  transform: translateY(-1px) !important;
}

.form-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.form-actions .btn {
  min-width: 180px;
  border-radius: 12px;
  padding: 15px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-actions .btn:hover {
  transform: translateY(-2px);
}

/* Responsive Design for Wallet Topup */
@media (max-width: 768px) {
  .amount-input {
    height: 50px !important;
    font-size: 16px !important;
  }
  
  .amount-suffix {
    right: 15px;
    font-size: 14px;
  }
  
  .quick-amount-buttons {
    gap: 8px;
  }
  
  .quick-amount-btn {
    padding: 12px 15px;
    min-width: 70px;
  }
  
  .amount-value {
    font-size: 18px;
  }
  
  .amount-currency {
    font-size: 11px;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .form-actions .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .topup-submit-btn {
    padding: 16px 30px !important;
    font-size: 16px !important;
  }
}

/* Animation for quick amount buttons */
@keyframes buttonPop {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.quick-amount-btn:active {
  animation: buttonPop 0.15s ease-in-out;
}

/* Enhanced Wallet Section Styling */
.enhanced-wallet-section {
  background: #2c3e50;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
  color: white;
  position: relative;
  overflow: hidden;
}

.enhanced-wallet-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.wallet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.wallet-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.wallet-title i {
  font-size: 28px;
  color: #fff;
}

.wallet-status {
  position: relative;
  z-index: 2;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-high {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.status-medium {
  background: rgb(255 255 255);
  color: #ffc107;
}

.status-normal {
  background: rgb(255 255 255);
  color: #17a2b8;
}

.status-low {
  background: rgba(220, 53, 69, 0.2);
  color: #ffeb3b;
}

.wallet-content {
  position: relative;
  z-index: 2;
}

.wallet-main-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.balance-display {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-amount {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.balance-currency {
  font-size: 20px;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 10px;
}

.balance-label {
  font-size: 14px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wallet-stats {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.wallet-stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 180px;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wallet-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
  justify-content: center;
}

.topup-btn, .history-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.topup-btn::before, .history-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.topup-btn:hover::before, .history-btn:hover::before {
  left: 100%;
}

.topup-btn:hover, .history-btn:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

.topup-btn:hover {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.7), rgba(32, 201, 151, 0.7));
  border-color: rgba(40, 167, 69, 0.8);
  box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.topup-btn {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.95), rgba(32, 201, 151, 0.95));
  border-color: rgba(40, 167, 69, 0.95);
}

.topup-btn .btn-arrow {
  transition: transform 0.3s ease;
}

.topup-btn:hover .btn-arrow {
  transform: translateX(3px);
}

.history-btn {
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.3), rgba(32, 201, 151, 0.3));
  border-color: rgba(23, 162, 184, 0.4);
}

.btn-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.btn-content {
  flex: 1;
}

.btn-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.btn-subtitle {
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-arrow {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.topup-btn:hover .btn-arrow, .history-btn:hover .btn-arrow {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(3px);
}

/* Responsive Design for Enhanced Wallet */
@media (max-width: 992px) {
  .wallet-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .wallet-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .wallet-stat-item {
    min-width: 200px;
  }
  
  .balance-amount {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .enhanced-wallet-section {
    padding: 20px;
  }
  
  .wallet-title {
    font-size: 20px;
  }
  
  .balance-amount {
    font-size: 32px;
  }
  
  .wallet-stat-item {
    min-width: 160px;
    padding: 12px 15px;
  }
  
  .topup-btn, .history-btn {
    padding: 15px;
  }
  
  .btn-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .btn-title {
    font-size: 14px;
  }
  
  .btn-subtitle {
    font-size: 11px;
  }
}

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

.enhanced-wallet-section {
  animation: walletFadeIn 0.8s ease-out;
}

.wallet-header {
  animation: walletFadeIn 1s ease-out;
}

.wallet-content {
  animation: walletFadeIn 1.2s ease-out;
}

/* Results Public Field Styling */
.results-public-field {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.results-public-field .form-check {
    margin-bottom: 0;
}

.results-public-field .form-check-label {
    font-weight: 600;
    color: #495057;
}

.results-public-field .help-text {
    color: #6c757d;
    font-size: 14px;
    margin-top: 8px;
    font-style: italic;
}

.results-public-field .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
}

.results-public-field .form-check-input:checked + .form-check-label {
    color: #28a745;
}

/* Results Not Available Message */
.results-not-available {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.results-not-available .icon {
    font-size: 48px;
    color: #f39c12;
    margin-bottom: 15px;
}

.results-not-available h3 {
    color: #856404;
    margin-bottom: 10px;
}

.results-not-available p {
    color: #856404;
    margin-bottom: 0;
}

/* Exam Status Indicators in User Profile */
.exam-status-completed {
    color: #28a745;
    font-weight: 600;
}

.exam-status-completed i {
    margin-right: 5px;
}

.exam-status-waiting {
    color: #ffc107;
    font-weight: 600;
}

.exam-status-waiting i {
    margin-right: 5px;
}

.exam-status-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Exam Results Visibility Notice */
.exam-results-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.exam-results-notice .icon {
    font-size: 24px;
    color: #f39c12;
    margin-bottom: 10px;
}

.exam-results-notice h4 {
    color: #856404;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.exam-results-notice p {
    color: #856404;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Exam Results Summary Cards */
.exam-results-summary .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exam-results-summary .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.exam-results-summary .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.exam-results-summary .card-title i {
    margin-right: 8px;
}

.exam-results-summary .card-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
}

.exam-results-summary .bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.exam-results-summary .bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
}

/* Statistics Module Styles */
.stat-card.statistics {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card.statistics:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.stat-card.statistics .stat-number i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-card.statistics a:hover {
    text-decoration: none;
}

/* Badge styles for admin dashboard */
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

/* Pre-registration and Pinned Exam Styles */

/* Pin Icon for Pinned Exams */
.pin-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #212529;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Pin icon when used in right badges container */
.course-right-badges .pin-icon {
    position: static;
    top: auto;
    right: auto;
    margin-bottom: 0;
}

.pin-icon i {
    font-size: 14px;
}

/* Pre-registration End Date */
.pre-reg-end-date {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

/* Pre-registration end date when used in right badges container */
.course-right-badges .pre-reg-end-date {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    margin-bottom: 0;
}

.pre-reg-end-date .end-date-label {
    font-size: 10px;
    opacity: 0.9;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pre-reg-end-date .end-date-value {
    font-size: 13px;
    font-weight: 700;
    color: white;
}

/* Pre-registration Banner */
.pre-registration-banner {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: #212529;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    flex-direction: column;
    text-align: center;
}

.pre-reg-countdown {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.pre-reg-countdown i {
  font-size: 18px;
  color: #212529;
}


.pre-reg-countdown .countdown-label {
  font-weight: 700;
  font-size: 18px;
  color: #212529;
}

.countdown-text {
    font-size: 14px;
}

.countdown-timer {
    font-size: 16px;
    font-weight: 700;
}

.countdown-timer .days,
.countdown-timer .hours,
.countdown-timer .minutes {
    color: #dc3545;
    font-weight: 800;
}


/* Course Image Position for Pin Icon */
.course-img {
    position: relative;
}

/* Responsive adjustments for pre-registration banner */
@media (max-width: 768px) {    
    .pre-reg-countdown {
        flex-direction: column;
        gap: 8px;
    }
    
    .countdown-timer {
        font-size: 14px;
    }
}

/* Pre-registration Status Banners for Exam Detail Page */
.pre-reg-status-banner {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

.pre-reg-info {
    text-align: center;
}

.pre-reg-info i {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.pre-reg-info strong {
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
}

.pre-reg-info p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.countdown-label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.9;
}

.countdown-display {
    font-size: 18px;
    font-weight: 700;
}

.countdown-display .days,
.countdown-display .hours,
.countdown-display .minutes {
    color: #ffc107;
    font-weight: 800;
}

.pre-reg-closed-banner {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

.pre-reg-closed-banner i {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.pre-reg-closed-banner strong {
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
}

.pre-reg-closed-banner p {
    margin: 0;
    opacity: 0.9;
}

/* Pin Icon for Pinned Exams */
.pin-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #212529;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pin-icon i {
    font-size: 14px;
}

/* Pre-registration Banner */


.pre-reg-action .btn {
    background: #212529;
    border: none;
    color: #ffc107;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 18px;
    margin-bottom: 10px;
}

.pre-reg-action .btn:hover {
    background: #343a40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Flip-flop Countdown Styles */
.flip-countdown {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.flip-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.flip-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin-bottom: 5px;
    font-weight: 500;
}

.flip-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.flip-number {
    font-size: 24px;
    font-weight: 700;
    color: red;
    line-height: 1;
    position: relative;
    z-index: 2;
}

.flip-card.flipping .flip-number {
    animation: flipNumber 0.6s ease-in-out;
}

@keyframes flipNumber {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
    }
    100% {
        transform: rotateX(0deg);
    }
}

.flip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.flip-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Enhanced countdown display for exam detail page */
.countdown-display.flip-style {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.countdown-display.flip-style .time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.countdown-display.flip-style .time-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.countdown-display.flip-style .time-card {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.countdown-display.flip-style .time-number {
    font-size: 28px;
    font-weight: 800;
    color: white;
    line-height: 1;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-display.flip-style .time-card.flipping .time-number {
    animation: flipNumberDetail 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flipNumberDetail {
    0% {
        transform: rotateX(0deg) scale(1);
    }
    25% {
        transform: rotateX(45deg) scale(1.05);
    }
    50% {
        transform: rotateX(90deg) scale(1.1);
    }
    75% {
        transform: rotateX(135deg) scale(1.05);
    }
    100% {
        transform: rotateX(0deg) scale(1);
    }
}

.countdown-display.flip-style .time-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.countdown-display.flip-style .time-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* Pulse animation for urgent countdown (less than 1 hour) */
.countdown-display.flip-style.urgent .time-card {
    animation: pulseUrgent 2s infinite;
}

@keyframes pulseUrgent {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 193, 7, 0.6);
    }
}

/* Additional flip-flop enhancements */
.flip-countdown .flip-card,
.countdown-display.flip-style .time-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-countdown .flip-card:hover,
.countdown-display.flip-style .time-card:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Glow effect for active countdown */
.flip-countdown .flip-card.active,
.countdown-display.flip-style .time-card.active {
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.6);
    border-color: rgba(255, 193, 7, 0.8);
}

/* Smooth number transitions */
.flip-number,
.time-number {
    transition: color 0.3s ease;
}

/* Enhanced backdrop for better readability */
.flip-card,
.time-card {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Mobile optimizations */
@media (max-width: 480px) {
    .flip-countdown {
        gap: 6px;
    }
    
    .flip-unit {
        min-width: 45px;
    }
    
    .flip-card {
        padding: 4px 8px;
        min-width: 35px;
    }
    
    .flip-number {
        font-size: 18px;
    }
    
    .flip-label {
        font-size: 9px;
    }
    
    .countdown-display.flip-style .time-unit {
        min-width: 60px;
    }
    
    .countdown-display.flip-style .time-card {
        padding: 8px 12px;
        min-width: 50px;
    }
    
    .countdown-display.flip-style .time-number {
        font-size: 24px;
    }
    
    .countdown-display.flip-style .time-label {
        font-size: 12px;
    }
}

/* Extra small screen optimizations for countdown with seconds */
@media (max-width: 360px) {
    .flip-countdown {
        gap: 4px;
    }
    
    .flip-unit {
        min-width: 40px;
    }
    
    .flip-card {
        padding: 3px 6px;
        min-width: 30px;
    }
    
    .flip-number {
        font-size: 16px;
    }
    
    .flip-label {
        font-size: 8px;
    }
    
    .countdown-display.flip-style .time-unit {
        min-width: 55px;
    }
    
    .countdown-display.flip-style .time-card {
        padding: 6px 10px;
        min-width: 45px;
    }
    
    .countdown-display.flip-style .time-number {
        font-size: 22px;
    }
    
    .countdown-display.flip-style .time-label {
        font-size: 11px;
    }
}