/* PTE Academic Test Platform - Public Styles */

/* Base styles and CSS variables */
:root {
    --pte-primary-color: #2271b1;
    --pte-primary-hover: #135e96;
    --pte-secondary-color: #646970;
    --pte-success-color: #00a32a;
    --pte-success-bg: #d4edda;
    --pte-success-text: #155724;
    --pte-warning-color: #f0b429;
    --pte-warning-bg: #fff3cd;
    --pte-warning-text: #856404;
    --pte-error-color: #d63638;
    --pte-error-bg: #f8d7da;
    --pte-error-text: #721c24;
    --pte-border-color: #ddd;
    --pte-border-radius: 8px;
    --pte-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --pte-box-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
    --pte-transition: all 0.3s ease;
}

/* Animations */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}

/* Container styles */
.pte-practice-test-container,
.pte-mock-test-container,
.pte-user-dashboard,
.pte-test-list {
    margin: 20px auto;
    max-width: 1200px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--pte-border-color);
    border-radius: var(--pte-border-radius);
    box-shadow: var(--pte-box-shadow);
}

/* Header styles */
.pte-practice-test-header,
.pte-mock-test-header,
.pte-dashboard-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--pte-primary-color);
}

.pte-practice-test-header h2,
.pte-mock-test-header h2,
.pte-dashboard-header h2 {
    margin: 0 0 15px;
    color: var(--pte-primary-color);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.pte-dashboard-subtitle {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0 0;
}

/* Test info styles */
.pte-test-info {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.pte-test-info span {
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--pte-border-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pte-secondary-color);
    transition: var(--pte-transition);
}

.pte-test-info span:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateY(-1px);
}

.pte-test-description {
    margin: 20px 0;
    padding: 15px;
    color: #666;
    line-height: 1.8;
    background: #f8f9fa;
    border-left: 4px solid var(--pte-primary-color);
    border-radius: 4px;
}

/* Button styles - Standardized and enhanced */
.pte-btn {
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--pte-transition);
    text-align: center;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pte-btn:focus {
    outline: 3px solid rgba(34, 113, 177, 0.3);
    outline-offset: 2px;
}

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

.pte-btn-primary {
    background: linear-gradient(135deg, var(--pte-primary-color) 0%, #1a5a8a 100%);
    color: #fff;
}

.pte-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--pte-primary-hover) 0%, #0f4c73 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.pte-btn-secondary {
    background: #fff;
    color: var(--pte-secondary-color);
    border: 2px solid var(--pte-border-color);
}

.pte-btn-secondary:hover:not(:disabled) {
    background: #f8f9fa;
    border-color: var(--pte-secondary-color);
    transform: translateY(-2px);
}

/* Test Interface - Distraction-free environment */
.pte-test-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    min-height: 60vh;
}

.pte-test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--pte-border-radius);
    box-shadow: var(--pte-box-shadow);
}

.pte-test-progress {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.pte-question-counter,
.pte-timer {
    font-size: 16px;
    font-weight: 600;
    color: var(--pte-secondary-color);
}

.pte-timer {
    padding: 8px 16px;
    background: #fff;
    border-radius: 20px;
    border: 2px solid var(--pte-primary-color);
    color: var(--pte-primary-color);
}

.pte-question-container {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--pte-border-color);
    border-radius: var(--pte-border-radius);
    margin-bottom: 30px;
    box-shadow: var(--pte-box-shadow);
}

.pte-question h3 {
    margin: 0 0 20px;
    color: var(--pte-primary-color);
    font-size: 20px;
    font-weight: 600;
}

.pte-question-text {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--pte-primary-color);
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.pte-test-navigation {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--pte-border-radius);
}

/* Form elements - Radio buttons and checkboxes */
.pte-question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pte-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 2px solid var(--pte-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--pte-transition);
    position: relative;
}

.pte-option:hover {
    background: #f8f9fa;
    border-color: var(--pte-primary-color);
    transform: translateX(5px);
}

.pte-option input[type="radio"],
.pte-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: var(--pte-primary-color);
}

.pte-option input[type="radio"]:focus,
.pte-option input[type="checkbox"]:focus {
    outline: 3px solid rgba(34, 113, 177, 0.3);
    outline-offset: 2px;
}

.pte-option span {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.pte-option:has(input:checked),
.pte-option.pte-option-checked {
    background: #e7f3ff;
    border-color: var(--pte-primary-color);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

/* Text inputs and textareas */
.pte-answer-textarea,
input[type="text"].pte-input,
input[type="email"].pte-input,
input[type="password"].pte-input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--pte-border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.6;
    transition: var(--pte-transition);
    background: #fff;
    color: #333;
}

.pte-answer-textarea:focus,
input[type="text"].pte-input:focus,
input[type="email"].pte-input:focus,
input[type="password"].pte-input:focus {
    outline: none;
    border-color: var(--pte-primary-color);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.pte-answer-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Speaking container */
.pte-speaking-container {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.pte-record-audio {
    margin: 15px 0;
}

/* Test Results */
.pte-test-results {
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--pte-border-radius);
    box-shadow: var(--pte-box-shadow);
}

.pte-test-results h2 {
    margin: 0 0 30px;
    color: var(--pte-success-color);
    font-size: 32px;
    font-weight: 700;
}

.pte-results-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto 30px;
}

.pte-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--pte-box-shadow);
}

.pte-result-label {
    font-size: 16px;
    color: var(--pte-secondary-color);
    font-weight: 500;
}

.pte-result-value {
    font-size: 24px;
    color: var(--pte-primary-color);
    font-weight: 700;
}

/* Dashboard styles - Enhanced */
.pte-dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pte-dashboard-section {
    padding: 30px;
    background: #f8f9fa;
    border-radius: var(--pte-border-radius);
    box-shadow: var(--pte-box-shadow);
}

.pte-dashboard-section h3 {
    margin: 0 0 25px;
    font-size: 24px;
    font-weight: 600;
    color: var(--pte-primary-color);
    border-bottom: 3px solid var(--pte-primary-color);
    padding-bottom: 10px;
}

.pte-progress-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.pte-progress-card {
    padding: 25px;
    background: #fff;
    border: 2px solid var(--pte-border-color);
    border-radius: 10px;
    box-shadow: var(--pte-box-shadow);
    transition: var(--pte-transition);
}

.pte-progress-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pte-box-shadow-hover);
    border-color: var(--pte-primary-color);
}

.pte-progress-card h4 {
    margin: 0 0 20px;
    color: var(--pte-primary-color);
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.pte-progress-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pte-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.pte-stat:last-child {
    border-bottom: none;
}

.pte-stat-label {
    color: var(--pte-secondary-color);
    font-size: 14px;
    font-weight: 500;
}

.pte-stat-value {
    font-weight: 700;
    font-size: 18px;
    color: var(--pte-primary-color);
}

/* Chart container for visualizations */
.pte-chart-container {
    margin: 25px 0;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--pte-box-shadow);
}

.pte-chart-container h4 {
    margin: 0 0 20px;
    color: var(--pte-primary-color);
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.pte-chart-container canvas {
    max-height: 400px;
}

/* Overall Score Section */
.pte-overall-score-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pte-overall-score-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.pte-score-gauge-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pte-score-value-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    pointer-events: none;
}

.pte-score-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--pte-primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.pte-score-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--pte-secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skills Grid Section */
.pte-skills-section {
    background: #fff;
}

.pte-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.pte-enabling-skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pte-skill-card {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--pte-border-color);
    border-radius: 12px;
    box-shadow: var(--pte-box-shadow);
    transition: var(--pte-transition);
    text-align: center;
}

.pte-skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pte-box-shadow-hover);
    border-color: var(--pte-primary-color);
}

.pte-skill-card h4 {
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pte-primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pte-skill-gauge-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pte-skill-gauge {
    max-width: 100%;
    max-height: 100%;
}

.pte-skill-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 700;
    color: var(--pte-primary-color);
    pointer-events: none;
}

/* Recent Activity Feed */
.pte-recent-activity-section {
    background: #fff;
}

.pte-activity-feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pte-activity-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--pte-border-color);
    border-radius: 10px;
    transition: var(--pte-transition);
}

.pte-activity-item:hover {
    border-color: var(--pte-primary-color);
    box-shadow: var(--pte-box-shadow-hover);
    transform: translateX(5px);
}

.pte-activity-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pte-primary-color);
    border-radius: 50%;
    color: #fff;
}

.pte-activity-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

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

.pte-activity-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--pte-primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pte-activity-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--pte-secondary-color);
}

.pte-activity-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pte-activity-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.pte-activity-date {
    font-weight: 500;
}

.pte-activity-score {
    font-weight: 700;
    color: var(--pte-success-color);
}

.pte-activity-actions {
    flex-shrink: 0;
}

.pte-btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* Test history table - Enhanced */
.pte-test-history-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--pte-box-shadow);
}

.pte-test-history-table th,
.pte-test-history-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.pte-test-history-table th {
    background: linear-gradient(135deg, var(--pte-primary-color) 0%, #1a5a8a 100%);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.pte-test-history-table tbody tr {
    transition: var(--pte-transition);
}

.pte-test-history-table tbody tr:hover {
    background: #f8f9fa;
}

.pte-test-history-table tbody tr:last-child td {
    border-bottom: none;
}

.pte-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: inline-block;
}

.pte-status-completed {
    background: var(--pte-success-bg);
    color: var(--pte-success-text);
}

.pte-status-in_progress {
    background: var(--pte-warning-bg);
    color: var(--pte-warning-text);
}

/* Test list styles - Enhanced */
.pte-test-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.pte-test-card {
    padding: 25px;
    background: #fff;
    border: 2px solid var(--pte-border-color);
    border-radius: 10px;
    box-shadow: var(--pte-box-shadow);
    transition: var(--pte-transition);
    display: flex;
    flex-direction: column;
}

.pte-test-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pte-box-shadow-hover);
    border-color: var(--pte-primary-color);
}

.pte-test-card h3 {
    margin: 0 0 15px;
    color: var(--pte-primary-color);
    font-size: 20px;
    font-weight: 600;
}

.pte-test-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.pte-test-meta span {
    padding: 6px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--pte-border-color);
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    color: var(--pte-secondary-color);
}

.pte-test-actions {
    margin-top: auto;
    padding-top: 20px;
}

/* Notice styles - Enhanced */
.pte-notice {
    padding: 15px 20px;
    margin: 20px 0;
    border-left: 4px solid;
    background: #fff;
    border-radius: 6px;
    box-shadow: var(--pte-box-shadow);
    font-size: 15px;
    line-height: 1.6;
}

.pte-notice-error {
    border-color: var(--pte-error-color);
    background: var(--pte-error-bg);
    color: var(--pte-error-text);
}

.pte-notice-success {
    border-color: var(--pte-success-color);
    background: var(--pte-success-bg);
    color: var(--pte-success-text);
}

.pte-notice-warning {
    border-color: var(--pte-warning-color);
    background: var(--pte-warning-bg);
    color: var(--pte-warning-text);
}

/* Loading states */
.pte-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(34, 113, 177, 0.3);
    border-radius: 50%;
    border-top-color: var(--pte-primary-color);
    animation: pte-spin 0.8s linear infinite;
}

@keyframes pte-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive styles - Enhanced */
@media (max-width: 1024px) {
    .pte-practice-test-container,
    .pte-mock-test-container,
    .pte-user-dashboard,
    .pte-test-list {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .pte-practice-test-container,
    .pte-mock-test-container,
    .pte-user-dashboard,
    .pte-test-list {
        padding: 20px;
        margin: 15px auto;
    }

    .pte-practice-test-header h2,
    .pte-mock-test-header h2,
    .pte-dashboard-header h2 {
        font-size: 24px;
    }

    .pte-test-info {
        flex-direction: column;
        gap: 10px;
    }

    .pte-test-info span {
        display: block;
        text-align: center;
    }

    .pte-progress-cards,
    .pte-test-cards {
        grid-template-columns: 1fr;
    }

    .pte-skills-grid,
    .pte-enabling-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .pte-activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .pte-activity-actions {
        width: 100%;
    }

    .pte-activity-actions .pte-btn {
        width: 100%;
    }

    .pte-score-gauge-wrapper {
        width: 200px;
        height: 200px;
    }

    .pte-score-value {
        font-size: 36px;
    }

    .pte-test-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .pte-test-progress {
        width: 100%;
        justify-content: space-between;
    }

    .pte-question-container,
    .pte-test-content {
        padding: 20px;
    }

    .pte-test-navigation {
        flex-direction: column;
    }

    .pte-btn {
        width: 100%;
    }

    .pte-test-history-table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
    }

    .pte-test-history-table th,
    .pte-test-history-table td {
        padding: 10px;
        font-size: 13px;
    }

    .pte-dashboard-section h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .pte-practice-test-container,
    .pte-mock-test-container,
    .pte-user-dashboard,
    .pte-test-list {
        padding: 15px;
    }

    .pte-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .pte-progress-card,
    .pte-test-card {
        padding: 15px;
    }

    .pte-dashboard-section {
        padding: 20px;
    }
}

/* Section-based mock test styles (Gurully style) */
.pte-section-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    text-align: center;
}

.pte-section-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--pte-primary-color);
}

.pte-section-header h2 {
    margin: 0 0 20px;
    font-size: 36px;
    font-weight: 700;
    color: var(--pte-primary-color);
}

.pte-section-info {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pte-section-type,
.pte-section-time {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid var(--pte-border-color);
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--pte-secondary-color);
}

.pte-section-type {
    background: linear-gradient(135deg, #e7f3ff 0%, #cce5ff 100%);
    border-color: var(--pte-primary-color);
    color: var(--pte-primary-color);
}

.pte-section-description {
    margin: 30px 0;
    text-align: left;
}

.pte-section-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 20px;
}

.pte-section-instructions {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid var(--pte-primary-color);
    border-radius: 8px;
    text-align: left;
}

.pte-section-instructions h3 {
    margin: 0 0 15px;
    font-size: 20px;
    font-weight: 600;
    color: var(--pte-primary-color);
}

.pte-section-instructions p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.pte-section-actions {
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.pte-section-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--pte-primary-color);
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.pte-section-timer {
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
}

/* Preparation screen */
.pte-preparation-screen {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--pte-border-radius);
    text-align: center;
}

.pte-preparation-screen h3 {
    margin: 0 0 30px;
    font-size: 28px;
    font-weight: 600;
    color: var(--pte-primary-color);
}

.pte-preparation-text {
    margin: 0 0 40px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
}

.pte-preparation-timer {
    margin: 40px 0;
}

.pte-timer-label {
    font-size: 16px;
    color: var(--pte-secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.pte-timer-value {
    font-size: 72px;
    font-weight: 700;
    color: var(--pte-primary-color);
    margin: 20px 0;
    line-height: 1;
}

.pte-preparation-note {
    margin: 20px 0 0;
    font-size: 14px;
    color: var(--pte-secondary-color);
    font-style: italic;
}

/* Speaking/Recording interface */
.pte-speaking-container {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.pte-recording-status {
    font-size: 18px;
    font-weight: 600;
    color: var(--pte-secondary-color);
    margin-bottom: 20px;
}

.pte-recording-timer {
    font-size: 24px;
    font-weight: 700;
    color: var(--pte-primary-color);
    margin: 20px 0;
}

.pte-recording-indicator {
    width: 80px;
    height: 80px;
    margin: 20px auto;
    border-radius: 50%;
    background: #ddd;
    position: relative;
    transition: all 0.3s ease;
}

.pte-recording-indicator.pte-recording-active {
    background: var(--pte-error-color);
    animation: pte-pulse 1.5s infinite;
}

@keyframes pte-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.pte-recording-indicator::after {
    content: '🎤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 36px;
}

.pte-question-type-label {
    display: inline-block;
    padding: 8px 16px;
    background: var(--pte-primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.pte-question-timer {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 2px solid var(--pte-primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--pte-primary-color);
    text-align: center;
}

/* Break screen */
.pte-break-screen {
    max-width: 700px;
    margin: 80px auto;
    padding: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--pte-border-radius);
    text-align: center;
    box-shadow: var(--pte-box-shadow);
}

.pte-break-screen h2 {
    margin: 0 0 40px;
    font-size: 36px;
    font-weight: 700;
    color: var(--pte-primary-color);
}

.pte-break-timer {
    margin: 40px 0;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--pte-box-shadow);
}

.pte-break-screen p {
    font-size: 16px;
    color: var(--pte-secondary-color);
    margin: 30px 0;
}

/* Review screen */
.pte-review-screen {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
}

.pte-review-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--pte-primary-color);
}

.pte-review-header h2 {
    margin: 0 0 30px;
    font-size: 32px;
    font-weight: 700;
    color: var(--pte-primary-color);
    text-align: center;
}

.pte-review-summary {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pte-review-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: var(--pte-box-shadow);
    min-width: 150px;
}

.pte-review-stat .pte-stat-label {
    font-size: 14px;
    color: var(--pte-secondary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.pte-review-stat .pte-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--pte-primary-color);
}

.pte-review-stat .pte-stat-value.pte-answered {
    color: var(--pte-success-color);
}

.pte-review-stat .pte-stat-value.pte-unanswered {
    color: var(--pte-warning-color);
}

.pte-review-content {
    margin: 40px 0;
}

.pte-review-note {
    padding: 20px;
    background: var(--pte-warning-bg);
    border-left: 4px solid var(--pte-warning-color);
    border-radius: 6px;
    color: var(--pte-warning-text);
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 30px;
}

.pte-review-section {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: var(--pte-box-shadow);
}

.pte-review-section h3 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--pte-primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pte-review-questions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 12px;
}

.pte-review-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: #fff;
    border: 2px solid var(--pte-border-color);
    border-radius: 8px;
    transition: var(--pte-transition);
    cursor: pointer;
}

.pte-review-question:hover {
    transform: translateY(-3px);
    box-shadow: var(--pte-box-shadow-hover);
}

.pte-review-question.answered {
    border-color: var(--pte-success-color);
    background: var(--pte-success-bg);
}

.pte-review-question.unanswered {
    border-color: var(--pte-warning-color);
    background: var(--pte-warning-bg);
}

.pte-question-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--pte-secondary-color);
    margin-bottom: 5px;
}

.pte-question-status {
    font-size: 20px;
    font-weight: 700;
}

.pte-review-question.answered .pte-question-status {
    color: var(--pte-success-color);
}

.pte-review-question.unanswered .pte-question-status {
    color: var(--pte-warning-color);
}

.pte-review-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--pte-border-color);
}

/* Responsive adjustments for section-based test */
@media (max-width: 768px) {
    .pte-section-intro {
        padding: 30px 20px;
    }

    .pte-section-header h2 {
        font-size: 28px;
    }

    .pte-timer-value {
        font-size: 56px;
    }

    .pte-preparation-screen {
        padding: 30px 20px;
    }

    .pte-break-screen {
        padding: 40px 20px;
    }

    .pte-review-questions {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        gap: 8px;
    }

    .pte-review-stat {
        padding: 15px 20px;
        min-width: 120px;
    }

    .pte-review-stat .pte-stat-value {
        font-size: 28px;
    }
}

/* Custom modal styles for modern notifications */
.pte-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: pte-fade-in 0.3s ease;
}

@keyframes pte-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pte-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    padding: 0;
    animation: pte-slide-up 0.3s ease;
}

@keyframes pte-slide-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pte-modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid #e9ecef;
}

.pte-modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--pte-primary-color);
}

.pte-modal-body {
    padding: 25px 30px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.pte-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.pte-modal-icon {
    font-size: 48px;
    margin-bottom: 15px;
    text-align: center;
}

.pte-modal-icon.warning {
    color: var(--pte-warning-color);
}

.pte-modal-icon.error {
    color: var(--pte-error-color);
}

.pte-modal-icon.info {
    color: var(--pte-primary-color);
}

/* Print styles for test results */
@media print {
    .pte-test-navigation,
    .pte-btn {
        display: none;
    }

    .pte-test-results {
        box-shadow: none;
    }

    .pte-modal-overlay {
        display: none;
    }
}

/* ========================================
   Payment & Purchase Features Styles
   ======================================== */

/* Purchase Required Section */
.pte-purchase-required {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin: 20px 0;
}

.pte-lock-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

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

.pte-purchase-required h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.pte-purchase-required p {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 25px;
}

.pte-btn-success {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pte-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Test Card Pricing */
.pte-test-card {
    position: relative;
    overflow: visible;
}

.pte-test-price-tag {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.pte-test-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
}

.pte-sale-badge {
    background: #e74c3c;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.pte-free-badge {
    background: #27ae60;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.pte-paid-test {
    border: 2px solid #667eea;
}

.pte-free-test {
    border: 2px solid #27ae60;
}

/* Purchase Button on Test Cards */
.pte-purchase-test {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pte-purchase-test:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.pte-purchase-test .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Purchase History Section */
.pte-purchase-history-section {
    margin-top: 30px;
}

.pte-purchase-cards {
    display: grid;
    gap: 20px;
}

.pte-purchase-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pte-purchase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.pte-purchase-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.pte-purchase-content {
    flex: 1;
}

.pte-purchase-content h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #2c3e50;
}

.pte-purchase-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #7f8c8d;
}

.pte-purchase-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.pte-purchase-actions {
    flex-shrink: 0;
}

/* Empty State */
.pte-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.pte-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.pte-empty-state p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 25px;
}

/* Test Price in Test Info */
.pte-test-price {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    margin-left: 10px;
}

/* Responsive Design for Payment Features */
@media (max-width: 768px) {
    .pte-purchase-required {
        padding: 40px 15px;
    }

    .pte-lock-icon {
        font-size: 48px;
    }

    .pte-purchase-required h3 {
        font-size: 22px;
    }

    .pte-purchase-card {
        flex-direction: column;
        text-align: center;
    }

    .pte-purchase-meta {
        flex-direction: column;
        gap: 8px;
    }

    .pte-test-price-tag {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }

    .pte-btn-success,
    .pte-purchase-test {
        width: 100%;
        justify-content: center;
    }
}

/* Loading State for Purchase Button */
.pte-purchase-test.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.pte-purchase-test.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Student Welcome/Onboarding Styles
   ======================================== */

.pte-student-welcome {
    margin: 20px auto;
    max-width: 1200px;
    padding: 0;
}

.pte-welcome-hero {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: var(--pte-border-radius) var(--pte-border-radius) 0 0;
    box-shadow: var(--pte-box-shadow);
}

.pte-welcome-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounceIn 1s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.pte-welcome-hero h1 {
    margin: 0 0 15px;
    font-size: 42px;
    font-weight: 700;
    color: white;
}

.pte-welcome-subtitle {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.pte-welcome-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 50px 30px;
    background: white;
}

.pte-feature-card {
    padding: 30px;
    text-align: center;
    border: 2px solid #e9ecef;
    border-radius: var(--pte-border-radius);
    transition: var(--pte-transition);
    position: relative;
    background: white;
}

.pte-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pte-box-shadow-hover);
    border-color: var(--pte-primary-color);
}

.pte-feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.pte-feature-card h3 {
    margin: 0 0 15px;
    font-size: 22px;
    color: #333;
}

.pte-feature-card p {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.6;
}

.pte-feature-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pte-badge-free {
    background: var(--pte-success-bg);
    color: var(--pte-success-text);
}

.pte-badge-premium {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pte-badge-included {
    background: #e3f2fd;
    color: #1976d2;
}

.pte-welcome-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 30px;
    background: #f8f9fa;
    flex-wrap: wrap;
}

.pte-btn-large {
    padding: 16px 36px;
    font-size: 18px;
    min-width: 220px;
}

.pte-btn-large .dashicons {
    margin-right: 8px;
    vertical-align: middle;
}

.pte-welcome-guide {
    padding: 50px 30px;
    background: white;
    border-radius: 0 0 var(--pte-border-radius) var(--pte-border-radius);
}

.pte-welcome-guide h2 {
    text-align: center;
    margin: 0 0 40px;
    font-size: 32px;
    color: var(--pte-primary-color);
}

.pte-guide-steps {
    max-width: 800px;
    margin: 0 auto;
}

.pte-guide-step {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: var(--pte-border-radius);
    border-left: 4px solid var(--pte-primary-color);
    transition: var(--pte-transition);
}

.pte-guide-step:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.pte-step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--pte-primary-color) 0%, var(--pte-primary-hover) 100%);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(34, 113, 177, 0.3);
}

.pte-step-content h4 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #333;
}

.pte-step-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   Browse Tests Styles
   ======================================== */

.pte-browse-tests {
    margin: 20px auto;
    max-width: 1400px;
    padding: 30px;
    background: white;
    border-radius: var(--pte-border-radius);
    box-shadow: var(--pte-box-shadow);
}

.pte-browse-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--pte-primary-color);
}

.pte-browse-header h1 {
    margin: 0 0 15px;
    font-size: 36px;
    color: var(--pte-primary-color);
    font-weight: 700;
}

.pte-browse-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.pte-browse-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 20px;
    background: #f8f9fa;
    border-radius: var(--pte-border-radius);
}

.pte-filter-btn {
    padding: 10px 24px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pte-transition);
    color: #495057;
}

.pte-filter-btn:hover {
    background: #e9ecef;
    border-color: var(--pte-primary-color);
    color: var(--pte-primary-color);
}

.pte-filter-btn.pte-filter-active {
    background: linear-gradient(135deg, var(--pte-primary-color) 0%, var(--pte-primary-hover) 100%);
    border-color: var(--pte-primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(34, 113, 177, 0.3);
}

.pte-test-section {
    margin-bottom: 50px;
}

.pte-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--pte-border-radius);
}

.pte-section-header h2 {
    margin: 0;
    font-size: 28px;
    color: #333;
}

.pte-section-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pte-test-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.pte-test-card {
    position: relative;
    padding: 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--pte-border-radius);
    transition: var(--pte-transition);
    display: flex;
    flex-direction: column;
}

.pte-test-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--pte-box-shadow-hover);
    border-color: var(--pte-primary-color);
}

.pte-test-card h3 {
    margin: 15px 0;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.pte-test-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.pte-test-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #f8f9fa;
    border-radius: 15px;
    font-size: 13px;
    color: #666;
}

.pte-test-meta .dashicons {
    font-size: 16px;
}

.pte-test-description {
    flex-grow: 1;
    margin: 15px 0;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.pte-test-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.pte-login-required {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff3cd;
    border-radius: 6px;
    color: #856404;
}

.pte-empty-state {
    text-align: center;
    padding: 60px 30px;
    background: #f8f9fa;
    border-radius: var(--pte-border-radius);
}

.pte-empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.pte-empty-state h3 {
    margin: 0 0 15px;
    font-size: 24px;
    color: #333;
}

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

/* ========================================
   Enhanced Test Card Badges
   ======================================== */

.pte-test-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 1;
}

.pte-free-badge {
    padding: 6px 14px;
    background: var(--pte-success-bg);
    color: var(--pte-success-text);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

.pte-sale-badge {
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
    .pte-free-badge,
    .pte-sale-badge {
        animation: none;
    }
}

.pte-test-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

/* ========================================
   Responsive Design for New Components
   ======================================== */

@media (max-width: 768px) {
    .pte-welcome-hero {
        padding: 40px 20px;
    }
    
    .pte-welcome-hero h1 {
        font-size: 32px;
    }
    
    .pte-welcome-subtitle {
        font-size: 16px;
    }
    
    .pte-welcome-features {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .pte-welcome-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pte-btn-large {
        width: 100%;
    }
    
    .pte-guide-step {
        flex-direction: column;
        text-align: center;
    }
    
    .pte-step-number {
        margin: 0 auto 15px;
    }
    
    .pte-browse-header h1 {
        font-size: 28px;
    }
    
    .pte-browse-filters {
        gap: 10px;
    }
    
    .pte-filter-btn {
        font-size: 13px;
        padding: 8px 16px;
    }
    
    .pte-test-cards {
        grid-template-columns: 1fr;
    }
    
    .pte-section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pte-welcome-icon {
        font-size: 60px;
    }
    
    .pte-welcome-hero h1 {
        font-size: 26px;
    }
    
    .pte-feature-icon {
        font-size: 40px;
    }
    
    .pte-test-price-tag {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }
}

/* ========================================
   Enhanced User Dashboard Styles
   ======================================== */

.pte-dashboard-subtitle {
    margin: 10px 0 0;
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.pte-quick-actions {
    margin: 30px 0;
    padding: 35px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.pte-section-title {
    margin: 0 0 25px;
    font-size: 26px;
    color: #333;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pte-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 28px;
    background: linear-gradient(135deg, var(--pte-primary-color) 0%, #1a5a8a 100%);
    border-radius: 2px;
}

.pte-action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.pte-action-card {
    padding: 30px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.pte-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--pte-primary-color) 0%, #764ba2 100%);
    transform: scaleX(0);
    opacity: 0;
    will-change: transform;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pte-action-card:hover::before {
    transform: scaleX(1);
    opacity: 1;
}

.pte-action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--pte-primary-color);
}

.pte-action-browse:hover {
    border-color: #667eea;
}

.pte-action-browse:hover .pte-action-icon {
    transform: scale(1.1) rotate(5deg);
}

.pte-action-practice:hover {
    border-color: var(--pte-success-color);
}

.pte-action-practice:hover .pte-action-icon {
    transform: scale(1.1) rotate(-5deg);
}

.pte-action-mock:hover {
    border-color: #ff6b6b;
}

.pte-action-mock:hover .pte-action-icon {
    transform: scale(1.1);
}

.pte-action-orders:hover {
    border-color: #ffa502;
}

.pte-action-orders:hover .pte-action-icon {
    transform: scale(1.1);
}

.pte-action-icon {
    font-size: 48px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pte-action-card h4 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.pte-action-card p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.pte-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.pte-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.pte-stat-card:hover {
    border-color: var(--pte-primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.pte-stat-icon {
    font-size: 40px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.pte-stat-content {
    flex-grow: 1;
}

.pte-stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--pte-primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.pte-stat-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

/* Responsive adjustments for dashboard enhancements */
@media (max-width: 768px) {
    .pte-quick-actions {
        padding: 20px;
    }
    
    .pte-action-cards {
        grid-template-columns: 1fr;
    }
    
    .pte-stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pte-stats-overview {
        grid-template-columns: 1fr;
    }
    
    .pte-stat-value {
        font-size: 24px;
    }
    
    .pte-action-icon {
        font-size: 32px;
    }
}

/* ========================================
   Student Guide Styles
   ======================================== */

.pte-student-guide {
    margin: 20px auto;
    max-width: 1000px;
}

.pte-guide-header {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: var(--pte-border-radius);
    margin-bottom: 40px;
}

.pte-guide-header h1 {
    margin: 0 0 15px;
    font-size: 42px;
    color: white;
    font-weight: 700;
}

.pte-guide-subtitle {
    font-size: 18px;
    margin: 0;
    opacity: 0.95;
}

.pte-guide-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pte-guide-section {
    padding: 40px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: var(--pte-border-radius);
    box-shadow: var(--pte-box-shadow);
}

.pte-guide-section-icon {
    font-size: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.pte-guide-section h2 {
    margin: 0 0 20px;
    font-size: 28px;
    color: var(--pte-primary-color);
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--pte-primary-color);
}

.pte-guide-content h3 {
    margin: 25px 0 15px;
    font-size: 20px;
    color: #333;
}

.pte-guide-content h3:first-child {
    margin-top: 0;
}

.pte-guide-content p {
    margin: 0 0 15px;
    line-height: 1.8;
    color: #666;
}

.pte-guide-content ul,
.pte-guide-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.pte-guide-content li {
    margin: 10px 0;
    line-height: 1.8;
    color: #666;
}

.pte-guide-content li strong {
    color: var(--pte-primary-color);
}

.pte-guide-footer {
    margin-top: 40px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--pte-border-radius);
    text-align: center;
}

.pte-guide-cta h2 {
    margin: 0 0 15px;
    font-size: 32px;
    color: #333;
}

.pte-guide-cta p {
    margin: 0 0 30px;
    font-size: 18px;
    color: #666;
}

.pte-guide-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Guide Styles */
@media (max-width: 768px) {
    .pte-guide-header {
        padding: 40px 20px;
    }
    
    .pte-guide-header h1 {
        font-size: 32px;
    }
    
    .pte-guide-section {
        padding: 25px;
    }
    
    .pte-guide-section h2 {
        font-size: 24px;
    }
    
    .pte-guide-footer {
        padding: 40px 20px;
    }
    
    .pte-guide-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .pte-guide-header h1 {
        font-size: 26px;
    }
    
    .pte-guide-section-icon {
        font-size: 40px;
    }
    
    .pte-guide-content ul,
    .pte-guide-content ol {
        padding-left: 20px;
    }
}

/* ========================================
   Student Login Panel Styles
   ======================================== */

.pte-student-login-panel {
    max-width: 480px;
    margin: 40px auto;
    padding: 0;
    position: relative;
}

/* Decorative background circles */
.pte-student-login-panel::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.pte-student-login-panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, rgba(118, 75, 162, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    border-radius: 50%;
    z-index: -1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.pte-login-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #e1e8ed;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pte-login-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Login Header */
.pte-login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.pte-login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.pte-login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.pte-logo-icon {
    font-size: 48px;
    line-height: 1;
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
    }
}

.pte-login-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
}

.pte-login-subtitle {
    margin: 8px 0 0;
    font-size: 16px;
    opacity: 0.95;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* Tab Navigation */
.pte-login-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e1e8ed;
}

.pte-tab-btn {
    flex: 1;
    padding: 18px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #646970;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.pte-tab-btn:hover {
    background: rgba(102, 126, 234, 0.05);
    color: #667eea;
}

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

.pte-tab-btn.pte-tab-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pte-tab-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Tab Content */
.pte-tab-content {
    display: none;
    padding: 40px 30px;
    animation: fadeIn 0.3s ease;
}

.pte-tab-content.pte-tab-active {
    display: block;
}

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

/* Form Styles */
.pte-form-group {
    margin-bottom: 24px;
    position: relative;
}

.pte-form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
    transition: color 0.3s ease;
}

.pte-form-group:focus-within label {
    color: #667eea;
}
}

.pte-form-group label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #667eea;
}

.pte-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #fff;
}

.pte-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.pte-form-control:hover {
    border-color: #cbd5e1;
}

.pte-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
}

.pte-form-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
    margin-bottom: 24px;
}

.pte-form-info .dashicons {
    color: #667eea;
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Form Options */
.pte-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.pte-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    user-select: none;
}

.pte-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.pte-forgot-password {
    font-size: 14px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.pte-forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Button Block Style */
.pte-btn-block {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.pte-btn-block:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loading Spinner */
.pte-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Social Login */
.pte-social-login {
    margin-top: 30px;
}

.pte-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
}

.pte-divider::before,
.pte-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e1e8ed;
}

.pte-divider span {
    padding: 0 16px;
    color: #64748b;
    font-size: 14px;
}

.pte-social-buttons {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

/* Login Features */
.pte-login-features {
    padding: 24px 30px;
    background: linear-gradient(180deg, #f8f9fa 0%, #f1f5f9 100%);
    border-top: 1px solid #e1e8ed;
}

.pte-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: #475569;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.pte-feature-item:hover {
    transform: translateX(5px);
}

.pte-feature-item .dashicons {
    color: #10b981;
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    animation: checkPulse 2s ease-in-out infinite;
}

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

/* Already Logged In State */
.pte-already-logged-in {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.pte-login-success-message {
    padding: 60px 40px;
    text-align: center;
}

.pte-success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.pte-login-success-message h2 {
    margin: 0 0 12px;
    color: #1e293b;
    font-size: 28px;
}

.pte-login-success-message p {
    margin: 0 0 32px;
    color: #64748b;
    font-size: 16px;
}

.pte-login-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Login Panel */
@media (max-width: 600px) {
    .pte-student-login-panel {
        margin: 20px auto;
    }
    
    .pte-login-header {
        padding: 30px 20px;
    }
    
    .pte-login-header h1 {
        font-size: 24px;
    }
    
    .pte-logo-icon {
        font-size: 40px;
    }
    
    .pte-tab-content {
        padding: 30px 20px;
    }
    
    .pte-login-features {
        padding: 20px;
    }
    
    .pte-tab-btn {
        padding: 16px 12px;
        font-size: 14px;
    }
    
    .pte-form-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pte-login-success-message {
        padding: 40px 20px;
    }
    
    .pte-login-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pte-login-actions .pte-btn {
        width: 100%;
    }
}

/* ========================================
   Ultra Dashboard Features Styles
   ======================================== */

/* Achievement Badges Section */
.pte-ultra-features {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.pte-achievement-badges,
.pte-study-streak {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

.pte-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

.pte-title-icon {
    font-size: 28px;
    line-height: 1;
}

.pte-badges-grid {
    display: grid;
    gap: 16px;
}

.pte-badge-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.pte-badge-earned {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
}

.pte-badge-locked {
    background: #f1f5f9;
    border: 2px solid #e2e8f0;
    opacity: 0.6;
}

.pte-badge-icon {
    font-size: 40px;
    flex-shrink: 0;
    line-height: 1;
}

.pte-badge-info h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.pte-badge-info p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.pte-badge-check,
.pte-badge-lock {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
}

.pte-badge-check {
    background: #10b981;
    color: #fff;
}

.pte-badge-lock {
    background: #94a3b8;
    color: #fff;
    font-size: 14px;
}

/* Study Streak */
.pte-streak-container {
    text-align: center;
    padding: 20px;
}

.pte-streak-number {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.pte-streak-label {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.pte-streak-message {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Learning Path */
.pte-learning-path {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

.pte-path-steps {
    display: grid;
    gap: 20px;
}

.pte-path-step {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.pte-path-step::before {
    content: '';
    position: absolute;
    left: 39px;
    top: 70px;
    width: 2px;
    height: calc(100% + 20px);
    background: #e2e8f0;
}

.pte-path-step:last-child::before {
    display: none;
}

.pte-path-completed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
}

.pte-path-completed::before {
    background: #10b981;
}

.pte-step-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 700;
    background: #fff;
    border: 3px solid #e2e8f0;
}

.pte-path-completed .pte-step-marker {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.pte-step-number {
    color: #64748b;
}

.pte-step-check {
    color: #fff;
}

.pte-step-content h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.pte-step-content p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

/* Recommendations */
.pte-recommendations {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

.pte-recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pte-recommendation-card {
    padding: 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    text-align: center;
    transition: all 0.3s ease;
}

.pte-recommendation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.2);
}

.pte-recommendation-icon {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1;
}

.pte-recommendation-card h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: #0c4a6e;
}

.pte-recommendation-card p {
    margin: 0 0 20px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.pte-btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* Responsive Ultra Features */
@media (max-width: 1024px) {
    .pte-ultra-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pte-recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .pte-path-step {
        padding: 16px;
    }
    
    .pte-step-marker {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .pte-path-step::before {
        left: 33px;
    }
    
    .pte-ultra-features {
        gap: 20px;
    }
    
    .pte-achievement-badges,
    .pte-study-streak,
    .pte-learning-path,
    .pte-recommendations {
        padding: 20px;
    }
}

/* ============================================
   Package Browsing Styles
   ============================================ */

.pte-browse-packages {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.pte-packages-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.2;
}

.pte-packages-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.pte-packages-section {
    margin-bottom: 60px;
}

.pte-packages-section .pte-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.pte-packages-section .pte-section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.pte-packages-section .pte-section-header p {
    font-size: 16px;
    color: #64748b;
}

.pte-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pte-package-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pte-package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.pte-package-card.pte-popular-package {
    border-color: #f59e0b;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.25);
}

.pte-package-card.pte-popular-package:hover {
    box-shadow: 0 12px 50px rgba(245, 158, 11, 0.35);
}

.pte-popular-ribbon {
    position: absolute;
    top: -12px;
    right: 25px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.pte-popular-ribbon .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

.pte-package-icon-large {
    font-size: 64px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1;
}

.pte-package-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px 0;
    text-align: center;
    line-height: 1.3;
}

.pte-package-desc {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 25px;
    flex-grow: 0;
}

.pte-package-price-section {
    text-align: center;
    padding: 25px 0;
    border-top: 2px solid #f1f5f9;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 25px;
}

.pte-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.pte-price .pte-currency {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.pte-price .pte-amount {
    font-size: 48px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.pte-price-free .pte-currency {
    font-size: 36px;
    font-weight: 800;
    color: #10b981;
}

.pte-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.pte-duration .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.pte-package-details {
    margin-bottom: 20px;
}

.pte-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    font-weight: 600;
    color: #475569;
}

.pte-detail-item .dashicons {
    color: #667eea;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.pte-package-features-list {
    margin-bottom: 25px;
    flex-grow: 1;
}

.pte-package-features-list h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px 0;
}

.pte-package-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pte-package-features-list ul li {
    display: flex;
    align-items: start;
    gap: 10px;
    padding: 10px 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.pte-package-features-list ul li .dashicons {
    color: #10b981;
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.pte-package-features-list ul li.pte-more-features {
    color: #667eea;
    font-weight: 600;
    font-style: italic;
    justify-content: center;
}

.pte-package-action {
    margin-top: auto;
}

.pte-btn-full {
    width: 100%;
    justify-content: center;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pte-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.pte-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.pte-btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.pte-btn-success:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.pte-login-required-package {
    text-align: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e1;
}

.pte-login-required-package .dashicons {
    font-size: 24px;
    color: #94a3b8;
    margin-bottom: 8px;
}

.pte-login-link {
    display: inline-block;
    color: #667eea;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pte-login-link:hover {
    color: #764ba2;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .pte-packages-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .pte-packages-header h1 {
        font-size: 32px;
    }
    
    .pte-packages-subtitle {
        font-size: 16px;
    }
    
    .pte-packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pte-package-card {
        padding: 25px 20px;
    }
    
    .pte-package-icon-large {
        font-size: 48px;
    }
    
    .pte-package-name {
        font-size: 20px;
    }
    
    .pte-price .pte-amount {
        font-size: 36px;
    }
}


/* ==========================================
   First-Time User Welcome Message
   ========================================== */
.pte-welcome-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pte-welcome-message .pte-welcome-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

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

.pte-welcome-message h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #fff;
}

.pte-welcome-message p {
    font-size: 16px;
    margin: 0 0 30px 0;
    opacity: 0.95;
    line-height: 1.6;
}

.pte-welcome-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.pte-welcome-steps .pte-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.pte-welcome-steps .pte-step:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.pte-welcome-steps .pte-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    color: #667eea;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.pte-welcome-steps .pte-step span:last-child {
    font-size: 14px;
    line-height: 1.4;
}

/* Mobile responsiveness for welcome message */
@media (max-width: 768px) {
    .pte-welcome-message {
        padding: 30px 20px;
    }
    
    .pte-welcome-message .pte-welcome-icon {
        font-size: 48px;
    }
    
    .pte-welcome-message h3 {
        font-size: 22px;
    }
    
    .pte-welcome-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .pte-welcome-steps .pte-step {
        width: 100%;
        justify-content: flex-start;
    }
}

/* ======================================
   STUDENT DASHBOARD WITH SIDEBAR STYLES
   ====================================== */

.pte-student-dashboard-with-sidebar {
    display: flex;
    min-height: 100vh;
    background: #f7f8fc;
}

/* Sidebar Styles */
.pte-dashboard-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
}

.pte-sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pte-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pte-logo-icon {
    font-size: 32px;
}

.pte-logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.pte-sidebar-user-info {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pte-user-avatar {
    flex-shrink: 0;
    position: relative;
}

.pte-user-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.pte-user-status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #667eea;
}

.pte-status-online {
    background: #00d97e;
    box-shadow: 0 0 8px rgba(0, 217, 126, 0.6);
}

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

.pte-user-details h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.pte-user-details p {
    margin: 0 0 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pte-user-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pte-sidebar-logo img {
    max-width: 180px;
    height: auto;
}

.pte-sidebar-logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.pte-sidebar-nav {
    padding: 20px 0;
}

.pte-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.pte-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.pte-nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-left-color: #fff;
}

.pte-nav-item .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.pte-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 12px 0;
}

/* Main Content Area */
.pte-dashboard-main-content {
    margin-left: 280px;
    flex: 1;
    padding: 32px;
    max-width: 1400px;
}

.pte-tab-content {
    display: none;
}

.pte-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Dashboard Overview */
.pte-dashboard-overview h1 {
    font-size: 32px;
    margin: 0 0 8px;
    color: #2c3e50;
}

.pte-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 32px;
}

.pte-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.pte-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.pte-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.pte-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.pte-stat-icon .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.pte-stat-info h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}

.pte-stat-info p {
    margin: 4px 0 0;
    color: #7f8c8d;
    font-size: 14px;
}

/* Skills Overview */
.pte-skills-overview {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pte-skills-overview h2 {
    font-size: 24px;
    margin: 0 0 24px;
    color: #2c3e50;
}

.pte-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.pte-skill-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.pte-skill-card h4 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.pte-progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pte-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.pte-score-value {
    font-size: 14px;
    color: #495057;
    font-weight: 600;
}

/* Recent Activity */
.pte-recent-activity {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pte-recent-activity h2 {
    font-size: 24px;
    margin: 0 0 24px;
    color: #2c3e50;
}

.pte-activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pte-activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pte-activity-item:hover {
    background: #e9ecef;
}

.pte-activity-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.pte-activity-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.pte-activity-details {
    flex: 1;
}

.pte-activity-details h4 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

.pte-activity-details p {
    margin: 0;
    font-size: 14px;
    color: #7f8c8d;
}

.pte-activity-score {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

/* My Packages Section */
.pte-my-packages-section h1 {
    font-size: 32px;
    margin: 0 0 8px;
    color: #2c3e50;
}

.pte-my-package-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    margin-bottom: 24px;
}

.pte-package-header-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #28a745;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pte-package-header-badge.expiring-soon {
    background: #ffc107;
    color: #000;
}

.pte-package-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
}

.pte-my-package-card h3 {
    font-size: 24px;
    margin: 0 0 12px;
    color: #2c3e50;
}

.pte-my-package-card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.pte-package-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.pte-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
}

.pte-meta-item .dashicons {
    color: #667eea;
}

.pte-package-tests-list h4 {
    font-size: 18px;
    margin: 0 0 16px;
    color: #2c3e50;
}

.pte-package-tests-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pte-package-tests-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
}

.pte-package-tests-list li:last-child {
    border-bottom: none;
}

/* Browse Tests Section */
.pte-browse-tests-section h1 {
    font-size: 32px;
    margin: 0 0 8px;
    color: #2c3e50;
}

.pte-test-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.pte-test-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.pte-test-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.pte-test-card h3 {
    font-size: 20px;
    margin: 0 0 12px;
    color: #2c3e50;
}

.pte-test-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #7f8c8d;
}

.pte-test-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pte-test-meta .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.pte-test-actions {
    margin-top: 16px;
}

/* My Results Section */
.pte-results-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pte-results-table thead {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.pte-results-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.pte-results-table td {
    padding: 16px;
    border-bottom: 1px solid #e9ecef;
}

.pte-results-table tbody tr:hover {
    background: #f8f9fa;
}

.pte-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.pte-status.completed {
    background: #d4edda;
    color: #155724;
}

.pte-status.in_progress {
    background: #fff3cd;
    color: #856404;
}

/* My Progress Section */
.pte-overall-score-section {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pte-score-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.pte-score-circle h3 {
    font-size: 48px;
    margin: 0;
    font-weight: 700;
}

.pte-score-circle p {
    margin: 4px 0 0;
    font-size: 14px;
    opacity: 0.9;
}

.pte-skills-detail {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pte-skills-detail h2 {
    font-size: 24px;
    margin: 0 0 24px;
    color: #2c3e50;
}

.pte-skill-detail-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.pte-skill-detail-card h4 {
    font-size: 16px;
    margin: 0 0 12px;
    color: #2c3e50;
}

.pte-skill-score {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 12px;
}

.pte-section-progress {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pte-progress-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pte-progress-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.pte-progress-card h4 {
    font-size: 18px;
    margin: 0 0 16px;
    color: #2c3e50;
    font-weight: 600;
}

.pte-progress-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pte-progress-stats div {
    font-size: 14px;
    color: #495057;
}

.pte-progress-stats strong {
    color: #667eea;
    font-weight: 700;
}

/* Empty State */
.pte-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.pte-empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.pte-empty-state h3 {
    font-size: 24px;
    margin: 0 0 12px;
    color: #2c3e50;
}

.pte-empty-state p {
    color: #7f8c8d;
    margin-bottom: 24px;
}

/* Button Styles */
.pte-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pte-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.pte-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

.pte-btn-secondary:hover {
    background: #5a6268;
}

.pte-btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pte-dashboard-sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }

    .pte-dashboard-main-content {
        margin-left: 0;
        padding: 20px;
    }

    .pte-stats-grid {
        grid-template-columns: 1fr;
    }

    .pte-skills-grid {
        grid-template-columns: 1fr;
    }

    .pte-test-cards {
        grid-template-columns: 1fr;
    }

    .pte-results-table {
        font-size: 12px;
    }

    .pte-results-table th,
    .pte-results-table td {
        padding: 12px 8px;
    }
}

/* Print Styles */
@media print {
    .pte-dashboard-sidebar,
    .pte-nav-item,
    .pte-btn {
        display: none;
    }

    .pte-dashboard-main-content {
        margin-left: 0;
    }
}

/* Package Required Notice */
.pte-package-required-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
}

.pte-package-required-notice .dashicons {
    color: #ffc107;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Update purchase required styling for package-based system */
.pte-purchase-required {
    text-align: center;
    padding: 48px 24px;
    background: #f8f9fa;
    border-radius: 12px;
}

.pte-purchase-required .pte-lock-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.pte-purchase-required h3 {
    font-size: 24px;
    margin: 0 0 12px;
    color: #2c3e50;
}

.pte-purchase-required p {
    color: #7f8c8d;
    margin-bottom: 24px;
    font-size: 16px;
}

/* ============================================
   Advanced Student Dashboard (79Score.com Style)
   ============================================ */

/* Enhanced Welcome Section */
.pte-welcome-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
    margin-bottom: 32px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.pte-welcome-enhanced h1 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 36px;
    font-weight: 700;
}

.pte-welcome-enhanced .pte-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 16px;
}

.pte-welcome-action .pte-btn {
    background: #fff;
    color: #667eea;
    padding: 12px 24px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pte-welcome-action .pte-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Enhanced Stats Grid */
.pte-stats-enhanced {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.pte-stats-enhanced .pte-stat-card {
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pte-stats-enhanced .pte-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.pte-stat-primary::before {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.pte-stat-success::before {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.pte-stat-info::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.pte-stat-warning::before {
    background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
}

.pte-stat-fire::before {
    background: linear-gradient(90deg, #ff6b6b 0%, #feca57 100%);
}

.pte-stat-trend {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 500;
}

.pte-trend-up {
    color: #43e97b;
}

/* Comprehensive Scorecard */
.pte-comprehensive-scorecard {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pte-scorecard-header {
    text-align: center;
    margin-bottom: 32px;
}

.pte-scorecard-header h2 {
    font-size: 28px;
    margin: 0 0 8px;
    color: #2c3e50;
}

.pte-scorecard-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin: 0;
}

.pte-scorecard-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 32px;
    align-items: start;
}

/* Overall Score Circle */
.pte-overall-score-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.pte-score-gauge {
    width: 100%;
    height: 100%;
}

.pte-score-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pte-score-number {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.pte-score-label {
    font-size: 14px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Main Skills Scores */
.pte-main-skills-scores {
    grid-column: span 1;
}

.pte-main-skills-scores h3 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #2c3e50;
}

.pte-skills-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pte-skill-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.pte-skill-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pte-skill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.pte-skill-icon {
    font-size: 24px;
}

.pte-skill-name {
    flex: 1;
    font-weight: 600;
    color: #2c3e50;
}

.pte-skill-score {
    font-weight: 700;
    font-size: 18px;
    color: #667eea;
}

.pte-skill-progress {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.pte-skill-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.pte-score-excellent .pte-skill-progress-bar {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.pte-score-good .pte-skill-progress-bar {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.pte-score-needs-work .pte-skill-progress-bar {
    background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
}

/* Enabling Skills */
.pte-enabling-skills {
    grid-column: span 2;
    margin-top: 32px;
}

.pte-enabling-skills h3 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #2c3e50;
}

.pte-enabling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.pte-enabling-skill-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.pte-enabling-skill-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.pte-enabling-skill-name {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 8px;
    font-weight: 500;
}

.pte-enabling-skill-score {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.pte-enabling-skill-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}

.pte-enabling-skill-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Performance Suggestions */
.pte-performance-suggestions {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pte-performance-suggestions h2 {
    font-size: 24px;
    margin: 0 0 8px;
    color: #2c3e50;
}

.pte-suggestions-subtitle {
    color: #7f8c8d;
    font-size: 16px;
    margin: 0 0 24px;
}

.pte-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.pte-suggestion-card {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.pte-suggestion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pte-priority-high {
    border-left-color: #ff6b6b;
}

.pte-priority-medium {
    border-left-color: #feca57;
}

.pte-priority-low {
    border-left-color: #43e97b;
}

.pte-suggestion-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.pte-suggestion-content h4 {
    font-size: 18px;
    margin: 0 0 8px;
    color: #2c3e50;
}

.pte-suggestion-content p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0 0 12px;
    line-height: 1.6;
}

.pte-suggestion-priority {
    display: inline-block;
    padding: 4px 12px;
    background: #fff;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.pte-priority-high .pte-suggestion-priority {
    color: #ff6b6b;
}

.pte-priority-medium .pte-suggestion-priority {
    color: #feca57;
}

.pte-priority-low .pte-suggestion-priority {
    color: #43e97b;
}

/* Quick Actions Section */
.pte-quick-actions-section {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pte-quick-actions-section h2 {
    font-size: 24px;
    margin: 0 0 24px;
    color: #2c3e50;
}

.pte-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.pte-quick-actions-grid .pte-action-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.pte-quick-actions-grid .pte-action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.4);
}

.pte-quick-actions-grid .pte-action-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.pte-quick-actions-grid .pte-action-card h4 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 18px;
}

.pte-quick-actions-grid .pte-action-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 14px;
}

/* Enhanced Recent Activity */
.pte-activity-enhanced {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pte-activity-enhanced h2 {
    font-size: 24px;
    margin: 0 0 24px;
    color: #2c3e50;
}

.pte-activity-enhanced .pte-activity-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.pte-activity-enhanced .pte-activity-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pte-status-completed {
    border-left: 4px solid #43e97b;
}

.pte-status-in-progress {
    border-left: 4px solid #feca57;
}

.pte-activity-date,
.pte-activity-status {
    display: inline-block;
    margin-right: 12px;
    font-size: 13px;
}

.pte-activity-status {
    padding: 2px 8px;
    background: #fff;
    border-radius: 8px;
    font-weight: 600;
}

.pte-status-completed .pte-activity-status {
    color: #43e97b;
}

.pte-status-in-progress .pte-activity-status {
    color: #feca57;
}

.pte-score-badge {
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: #fff;
    font-weight: 700;
}

.pte-activity-resume .pte-btn {
    padding: 8px 16px;
    font-size: 13px;
}

/* First Time User Welcome */
.pte-first-time-welcome {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 64px 32px;
    text-align: center;
    color: #fff;
    margin-bottom: 32px;
}

.pte-welcome-illustration {
    font-size: 80px;
    margin-bottom: 24px;
}

.pte-first-time-welcome h2 {
    color: #fff;
    font-size: 32px;
    margin: 0 0 16px;
}

.pte-first-time-welcome p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0 0 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pte-first-time-welcome .pte-btn-large {
    padding: 16px 48px;
    font-size: 18px;
    background: #fff;
    color: #667eea;
    border: none;
}

.pte-first-time-welcome .pte-btn-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Tab Trigger Links */
.pte-tab-trigger {
    cursor: pointer;
}

/* Responsive Design for Advanced Dashboard */
@media (max-width: 1024px) {
    .pte-scorecard-main {
        grid-template-columns: 1fr;
    }
    
    .pte-enabling-skills {
        grid-column: span 1;
    }
    
    .pte-overall-score-circle {
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    .pte-welcome-enhanced {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .pte-welcome-enhanced h1 {
        font-size: 28px;
    }
    
    .pte-stats-enhanced {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .pte-suggestions-grid,
    .pte-quick-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .pte-enabling-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .pte-comprehensive-scorecard,
    .pte-performance-suggestions,
    .pte-quick-actions-section,
    .pte-activity-enhanced {
        padding: 20px;
    }
    
    .pte-welcome-enhanced {
        padding: 24px;
    }
    
    .pte-welcome-enhanced h1 {
        font-size: 24px;
    }
    
    .pte-enabling-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   Settings Tab Styles
   =================================================================== */

.pte-settings-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
}

.pte-settings-header {
    margin-bottom: 40px;
    text-align: center;
}

.pte-settings-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.pte-settings-header p {
    font-size: 16px;
    color: #7f8c8d;
}

.pte-settings-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pte-settings-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

.pte-settings-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.pte-settings-section-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f2f5;
}

.pte-settings-section-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pte-settings-section-header h2 .dashicons {
    color: #667eea;
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.pte-settings-section-header p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.pte-settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pte-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pte-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pte-form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
}

.pte-form-control {
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pte-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.pte-form-hint {
    font-size: 13px;
    color: #95a5a6;
    margin-top: 4px;
}

.pte-checkbox-group {
    padding: 12px 0;
}

.pte-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    color: #34495e;
}

.pte-checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.pte-checkbox-label span {
    flex: 1;
}

.pte-form-actions {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.pte-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.pte-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.pte-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.pte-btn-secondary {
    background: #ecf0f1;
    color: #2c3e50;
}

.pte-btn-secondary:hover {
    background: #d5dbdd;
}

.pte-btn-danger {
    background: #e74c3c;
    color: #fff;
}

.pte-btn-danger:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.pte-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.pte-danger-zone {
    border: 2px solid #e74c3c;
}

.pte-danger-zone .pte-settings-section-header h2 {
    color: #e74c3c;
}

.pte-danger-zone .pte-settings-section-header h2 .dashicons {
    color: #e74c3c;
}

.pte-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pte-warning-text {
    display: block;
    margin-top: 15px;
    color: #e74c3c;
    font-size: 13px;
    font-weight: 500;
}

/* Responsive adjustments for settings */
@media (max-width: 768px) {
    .pte-settings-container {
        padding: 20px;
    }
    
    .pte-settings-header h1 {
        font-size: 26px;
    }
    
    .pte-form-row {
        grid-template-columns: 1fr;
    }
    
    .pte-settings-section {
        padding: 20px;
    }
    
    .pte-action-buttons {
        flex-direction: column;
    }
    
    .pte-action-buttons button {
        width: 100%;
    }
}

/* ===================================================================
   Welcome Tour Styles
   =================================================================== */

.pte-welcome-tour {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.pte-welcome-tour.pte-tour-active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.pte-tour-content {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

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

.pte-tour-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.pte-tour-close:hover {
    color: #333;
}

.pte-tour-icon {
    font-size: 64px;
    text-align: center;
    margin-bottom: 20px;
}

.pte-tour-content h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.pte-tour-content > p {
    text-align: center;
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.pte-tour-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.pte-tour-step {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pte-tour-step:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pte-tour-step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.pte-tour-step-content h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.pte-tour-step-content p {
    margin: 0;
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
}

.pte-tour-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.pte-tour-actions .pte-btn {
    padding: 14px 32px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .pte-tour-content {
        padding: 30px 20px;
    }
    
    .pte-tour-content h2 {
        font-size: 24px;
    }
    
    .pte-tour-steps {
        grid-template-columns: 1fr;
    }
    
    .pte-tour-actions {
        flex-direction: column;
    }
    
    .pte-tour-actions .pte-btn {
        width: 100%;
    }
}
