/* Test card hover effect */
.test-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    background-color: white;
}

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

/* Modal animation */
.modal-enter-active, .modal-leave-active {
    transition: opacity 0.3s, transform 0.3s;
}

.modal-enter-from, .modal-leave-to {
    opacity: 0;
    transform: translateY(-20px);
}

/* Fixed overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

/* Modal content */
.test-modal {
    background-color: white;
    border-radius: 12px;
    max-width: 90%;
    width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.test-modal-header {
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9fafb;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.test-modal-body {
    padding: 2.5rem 2rem;
}

.test-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background-color: #f9fafb;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.close-button {
    background: transparent;
    border: none;
    font-size: var(--text-xl);
    cursor: pointer;
    color: #6b7280;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.close-button:hover {
    color: #1f2937;
    background-color: #e5e7eb;
}

.notice-box {
    background-color: #f3f4f6;
    border-left: 4px solid #3b82f6;
    padding: 1.25rem;
    margin-top: 1.75rem;
    border-radius: 0.25rem;
}

.notice-box.warning {
    border-left-color: #f59e0b;
    background-color: #fffbeb;
}

.test-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.test-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
}

.test-feature-icon {
    width: 40px;
    height: 40px;
    background-color: #dbeafe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    color: #2563eb;
}

.btn-primary.btn-start-test {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 0.75rem 2rem;
    font-weight: var(--font-weight-semibold);
    font-size: var(--text-lg);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.btn-primary.btn-start-test:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(37, 99, 235, 0.35);
}

/* Tab Navigation Styles */
.test-tabs {
    margin-bottom: 1.5rem;
}

.test-tabs-header {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.25rem;
}

.test-tab-btn {
    padding: 0.75rem 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: #6b7280;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.test-tab-btn:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background-color 0.2s;
}

.test-tab-btn.active {
    color: #2563eb;
}

.test-tab-btn.active:after {
    background: #2563eb;
}

.test-tab-btn:hover {
    color: #1f2937;
}

/* Form Elements
-------------------------------------------------- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm);
  color: #1f2937;
  font-family: var(--font-family);
  line-height: var(--line-height-normal);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--text-base);
  font-weight: var(--font-weight-normal);
  border: 2px solid rgba(229, 231, 235, 0.8);
  border-radius: 8px;
  background-color: white;
  color: #1f2937;
  font-family: var(--font-family);
  line-height: var(--line-height-normal);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), 0 0 20px rgba(59, 130, 246, 0.1);
}

.form-control:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.form-select {
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Button Standardization
-------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-family);
  line-height: var(--line-height-normal);
  gap: 0.5rem;
}

.btn-secondary {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background-color: #e5e7eb;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
}

/* Test Modal Professional Typography */
:root {
  /* Professional Typography Scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Font Family */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}