* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f6fb;
    min-height: 100vh;
    padding: 0;
}

.test-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.test-hero {
    background: linear-gradient(135deg, #2f3967 0%, #823dea 50%, #a332bb 100%);
    color: #fff;
    padding: 70px 20px 110px;
    position: relative;
    overflow: hidden;
}

.test-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25), transparent 55%);
    pointer-events: none;
}

.test-hero__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: stretch;
}

.test-hero__content h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 20px 0 15px;
    line-height: 1.2;
}

.test-hero__content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.test-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.test-hero__card {
    background: #ffffff;
    color: #2f3967;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(15, 31, 58, 0.25);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-user__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(130, 61, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #823dea;
}

.hero-user__label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6f7691;
}

.hero-user--guest {
    align-items: flex-start;
}

.hero-card__desc {
    color: #5a5f75;
    margin: 0;
    line-height: 1.5;
}

.hero-link,
.hero-link--primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    color: #823dea;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hero-link:hover {
    transform: translateX(4px);
}

.hero-link--primary {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(130, 61, 234, 0.1);
}

.hero-link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.hero-stat {
    background: #f6f2ff;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(130, 61, 234, 0.2);
}

.hero-stat span {
    display: block;
    font-size: 0.85rem;
    color: #6f7691;
    margin-bottom: 8px;
}

.hero-stat__value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2f3967;
}

.test-main {
    flex: 1;
    padding: 0 20px 60px;
    margin-top: 20px;
}

.test-main__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: block;
}

.test-panel {
    background: #ffffff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(15, 31, 58, 0.05);
    margin: 0 auto;
}

.step-card {
    background: #f7f6fd;
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(130, 61, 234, 0.15);
}

.step-card__head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-card__badge {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #823dea;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(130, 61, 234, 0.3);
}

.step-card__title {
    margin: 0;
    font-size: 1.2rem;
    color: #2f3967;
}

.step-card__desc {
    margin: 4px 0 0;
    color: #6f7691;
    font-size: 0.95rem;
}

.option-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.test-status {
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.test-status > .loading,
.test-status > .results {
    border-radius: 28px;
    box-shadow: 0 20px 45px rgba(15, 31, 58, 0.08);
    background: #ffffff;
}

@media (max-width: 1024px) {
    .test-main {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .test-panel {
        padding: 28px;
    }

    .step-card {
        padding: 20px;
    }

    .test-hero {
        padding: 60px 16px 90px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #2f3967, #823dea);
    color: white;
    padding: 30px;
    text-align: center;
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.test-form {
    padding: 0;
    background: transparent;
}

.form-group {
    margin-bottom: 25px;
}

.result-element img{
    height: 65px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1.1em;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #823dea;
    box-shadow: 0 0 0 3px rgba(130, 61, 234, 0.15);
}

.test-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.option-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #e1e5e9;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-card:hover {
    border-color: #823dea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.option-card.selected {
    border-color: #823dea;
    background: #f4efff;
}

.option-card input {
    width: auto;
    margin-right: 10px;
}

/* Button Group - Yan Yana Düzenleme */
.button-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.test-btn {
    padding: 18px;
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Primary Button - Teste Başla */
.test-btn.primary {
    background: linear-gradient(135deg, #2f3967, #823dea);
}

.test-btn.primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a27b8, #a332bb);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(130, 61, 234, 0.25);
}

/* Secondary Button - Test Geçmişi */
.test-btn.secondary {
    background: linear-gradient(135deg, #686b7c, #4e5167);
}

.test-btn.secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #4e5167, #2f3967);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.test-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive - Mobilde Alt Alta */
@media (max-width: 768px) {
    .button-group {
        grid-template-columns: 1fr;
    }
    
    .test-btn {
        font-size: 1.1em;
        padding: 16px;
    }
}

.loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.loading i {
    font-size: 3em;
    color: #823dea;
    animation: spin 1s linear infinite;
}

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

.results {
    display: none;
    padding: 40px;
}

.score-section {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

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

.score-low { background: linear-gradient(135deg, #f44336, #d32f2f); }
.score-medium { background: linear-gradient(135deg, #ff9800, #f57c00); }
.score-high { background: linear-gradient(135deg, #4CAF50, #45a049); }

/* Test bilgileri */
.test-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.home-link-container{
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;    
}
.home-link-container a{
    color: white;
    text-decoration: none;    
}
.test-info-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 5px;
}

.test-info-label {
    font-size: 0.85em;
    opacity: 0.9;
    font-weight: 500;
}

.test-info-value {
    font-size: 1em;
    font-weight: 600;
    word-break: break-word;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
}

.result-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-left: 5px solid #823dea;
    width: 100%;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

.result-card.priority-high {
    border-left: 5px solid #f44336;
    background: linear-gradient(135deg, #fff 0%, #ffebee 100%);
    order: 1;
}

.result-card.priority-medium {
    border-left: 5px solid #ff9800;
    background: linear-gradient(135deg, #fff 0%, #fff3e0 100%);
    order: 2;
}

.result-card.priority-low {
    border-left: 5px solid #4CAF50;
    background: linear-gradient(135deg, #fff 0%, #e8f5e8 100%);
    order: 3;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.result-card h3 {
    color: #2f3967;
    margin: 0;
    font-size: 1.4em;
    font-weight: 700;
}

.category-summary {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error-badge {
    background: #f44336;
    color: white;
    box-shadow: 0 2px 5px rgba(244, 67, 54, 0.3);
}

.warning-badge {
    background: #ff9800;
    color: white;
    box-shadow: 0 2px 5px rgba(255, 152, 0, 0.3);
}

.success-badge {
    background: #4CAF50;
    color: white;
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.result-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    margin: 8px 0;
    border-radius: 10px;
    background: #f8f9fa;
}

.result-item.error {
    background: #ffebee;
    border-left: 4px solid #f44336;
}

.result-item.warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
}

.result-item.success {
    background: #e8f5e8;
    border-left: 4px solid #4CAF50;
}

.result-icon {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.result-content {
    flex: 1;
}

.result-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.result-desc {
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.result-element {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 0.85em;
    margin-top: 8px;
    word-break: break-all;
}

.result-details {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
}

.detail-header {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.detail-grid {
    display: grid;
    gap: 8px;
    font-size: 0.85em;
}

.detail-grid > div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-grid > div:last-child {
    border-bottom: none;
}

.detail-grid strong {
    min-width: 120px;
    color: #2f3967;
    font-weight: 600;
}

.detail-grid code {
    background: #e9ecef;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #495057;
    word-break: break-all;
    border: 1px solid #dee2e6;
    font-family: 'Courier New', monospace;
}

.line-number {
    background: #fff3cd;
    color: #856404;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 0.8em;
}

.result-fix {
    background: linear-gradient(135deg, #f4efff, #f8e5ff);
    border: 1px solid #823dea;
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
}

.fix-header {
    font-weight: 600;
    color: #5a27b8;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.fix-content {
    font-size: 0.85em;
    color: #424242;
    line-height: 1.4;
}

.result-wcag {
    font-size: 0.8em;
    color: #888;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}

.export-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px;
    font-weight: 600;
}

.export-btn:hover {
    background: #218838;
}

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

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #823dea;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-card.error-stat {
    border-top-color: #f44336;
    background: linear-gradient(135deg, #fff 0%, #ffebee 100%);
}

.stat-card.warning-stat {
    border-top-color: #ff9800;
    background: linear-gradient(135deg, #fff 0%, #fff3e0 100%);
}

.stat-card.success-stat {
    border-top-color: #4CAF50;
    background: linear-gradient(135deg, #fff 0%, #e8f5e8 100%);
}

.stat-card.total-stat {
    border-top-color: #823dea;
    background: linear-gradient(135deg, #fff 0%, #f4efff 100%);
}

.stat-number {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 8px;
}

.error-stat .stat-number { color: #f44336; }
.warning-stat .stat-number { color: #ff9800; }
.success-stat .stat-number { color: #4CAF50; }
.total-stat .stat-number { color: #823dea; }

.stat-label {
    color: #333;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-desc {
    color: #666;
    font-size: 0.85em;
    opacity: 0.8;
}

/* Bağlantı analizi için özel stiller */
.link-analysis-card {
    border-left: 5px solid #ff5722 !important;
    background: linear-gradient(135deg, #fff3e0, #ffebee);
}

.link-summary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    font-family: monospace;
    font-size: 0.9em;
}

.link-detail-grid {
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.link-detail-row {
    display: flex;
    padding: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.7);
}

.link-detail-label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
    margin-right: 10px;
}

.link-detail-value {
    flex: 1;
    word-break: break-all;
}

.issue-type-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    margin-left: 10px;
}

.badge-empty { background: #dc3545; color: white; }
.badge-vague { background: #fd7e14; color: white; }
.badge-too-short { background: #ffc107; color: #212529; }
.badge-url-as-text { background: #6f42c1; color: white; }
.badge-punctuation-only { background: #e83e8c; color: white; }

/* Satır numarası stili */
.line-number {
    background: linear-gradient(135deg, #823dea, #5a27b8);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(130, 61, 234, 0.35);
    display: inline-block;
    margin-left: 5px;
}

.line-number:before {
    content: "Line ";
    font-size: 0.75em;
    opacity: 0.8;
}


/* Test History Modal Styles */
.history-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.history-header {
    background: linear-gradient(135deg, #2f3967, #823dea);
    color: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-btn:hover {
    background: rgba(255,255,255,0.2);
}

.history-filters {
    padding: 20px 30px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.history-filter-btn {
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.history-filter-btn:hover {
    background: #f3f4f6;
}

.history-filter-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.history-filter-btn.danger {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.history-filter-btn.danger:hover {
    background: #dc2626;
}

.history-list {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.history-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #ddd;
    transition: all 0.3s;
    cursor: pointer;
}

.history-item:hover {
    background: #e3f2fd;
}

.history-item.passed {
    border-left-color: #10b981;
}

.history-item.failed {
    border-left-color: #ef4444;
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.history-item-url {
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    flex: 1;
}

.history-item-date {
    font-size: 12px;
    color: #6b7280;
}

.history-item-score {
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
}

.history-item-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
    margin-top: 10px;
}

.history-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-history {
    text-align: center;
    color: #6b7280;
    padding: 40px 20px;
}

.no-history i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

/* Kullanıcı Bilgi Formu Stilleri */
.user-form {
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.form-header h2 {
    color: #2f3967;
    margin-bottom: 10px;
    font-size: 1.8em;
}

.form-header p {
    color: #666;
    font-size: 1.1em;
}

.required {
    color: #ee3131;
    font-weight: bold;
}

.form-help {
    display: block;
    color: #6c757d;
    font-size: 0.85em;
    margin-top: 5px;
    font-style: italic;
}

.checkbox-wrapper {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto !important;
    margin: 0;
    display: none; /* Default checkbox'ı gizle */
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #2f3967;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-wrapper:hover .checkmark {
    border-color: #ee3131;
    box-shadow: 0 0 0 2px rgba(47, 57, 103, 0.1);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #2f3967;
    border-color: #2f3967;
}

.checkbox-wrapper:hover input[type="checkbox"]:checked + .checkmark {
    background: #ee3131;
    border-color: #ee3131;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.consent-text {
    flex: 1;
    font-size: 0.95em;
    color: #495057;
}

.consent-text a {
    color: #2f3967;
    text-decoration: underline;
    font-weight: 600;
}

.consent-text a:hover {
    color: #ee3131;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #2f3967, #4a5a8c);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #ee3131, #c42828);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Kullanıcı Bilgi Header Stilleri */
.user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    font-size: 0.95em;
}

.daily-limit-info {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    font-size: 0.9em;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.daily-limit-info i {
    font-size: 0.85em;
}

/* Günlük limit göstergesi renkleri */
#dailyTestCount {
    color: #2f3967;
    font-weight: 700;
}

#dailyTestCount.limit-warning {
    color: #ff9800;
}

#dailyTestCount.limit-danger {
    color: #e53935;
}

.logout-btn {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.logout-btn:hover {
    background: rgba(238, 49, 49, 0.8);
    transform: scale(1.1);
}

/* Kullanıcı Bilgi Modal Stilleri (Test Sonrası) */
.user-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 25000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease-out;
}

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

.user-info-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    animation: slideUpIn 0.4s ease-out;
}

@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-info-header {
    background: linear-gradient(135deg, #2f3967, #4a5a8c);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.user-info-header h2 {
    margin: 0 0 15px 0;
    font-size: 1.8em;
}

.user-info-header p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.user-info-body {
    padding: 30px 40px;
}

.user-info-body .form-group {
    margin-bottom: 25px;
}

.user-info-body .submit-btn {
    margin-top: 10px;
}

/* Responsive için user-info modal */
@media (max-width: 768px) {
    .user-info-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .user-info-header {
        padding: 20px;
    }
    
    .user-info-header h2 {
        font-size: 1.5em;
    }
    
    .user-info-body {
        padding: 20px;
    }
}

/* Günlük Limit Modal Stilleri */
.limit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 35000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

.limit-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: slideUpIn 0.4s ease-out;
}

.limit-modal-header {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.limit-icon {
    font-size: 4em;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

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

.limit-modal-header h2 {
    margin: 0;
    font-size: 1.8em;
}

.limit-modal-body {
    padding: 30px;
}

.limit-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.limit-stat-item {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #dee2e6;
}

.limit-stat-label {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.limit-stat-value {
    font-size: 2em;
    font-weight: bold;
    color: #2f3967;
}

.limit-stat-value.danger {
    color: #f44336;
}

.limit-message {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.limit-message p {
    margin: 10px 0;
    color: #666;
    line-height: 1.6;
}

.limit-message strong {
    color: #2f3967;
}

.limit-suggestions {
    background: #f4efff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #823dea;
}

.limit-suggestions h3 {
    margin: 0 0 15px 0;
    color: #2f3967;
    font-size: 1.2em;
}

.limit-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.limit-suggestions li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(130, 61, 234, 0.2);
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.limit-suggestions li:last-child {
    border-bottom: none;
}

.limit-suggestions li i {
    color: #823dea;
    margin-top: 3px;
}

.limit-suggestions a {
    color: #823dea;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.limit-suggestions a:hover {
    color: #5a27b8;
    border-bottom-color: #5a27b8;
}

.limit-modal-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 20px 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.limit-close-btn {
    flex: 1;
    padding: 15px 30px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.limit-close-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.limit-contact-btn {
    flex: 1;
    padding: 15px 30px;
    background: linear-gradient(135deg, #2f3967, #823dea);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.limit-contact-btn:hover {
    background: linear-gradient(135deg, #5a27b8, #a332bb);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 61, 234, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .limit-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .limit-stats {
        grid-template-columns: 1fr;
    }
    
    .limit-modal-header {
        padding: 20px;
    }
    
    .limit-modal-body {
        padding: 20px;
    }
    
    .limit-modal-footer {
        flex-direction: column;
    }
}

/* Gizlilik Politikası Modal Stilleri */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.privacy-modal-content {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.privacy-header {
    background: linear-gradient(135deg, #2f3967, #4a5a8c);
    color: white;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.privacy-header h2 {
    margin: 0;
    font-size: 1.4em;
}

.privacy-body {
    padding: 25px 30px;
    max-height: 50vh;
    overflow-y: auto;
    line-height: 1.6;
}

.privacy-body h3 {
    color: #2f3967;
    margin: 20px 0 10px 0;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-body h3:first-child {
    margin-top: 0;
}

.privacy-body p {
    margin-bottom: 15px;
    color: #495057;
}

.privacy-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-body li {
    margin-bottom: 8px;
    color: #495057;
}

.contact-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #2f3967;
}

.contact-info h4 {
    margin: 0 0 8px 0;
    color: #2f3967;
}

.contact-info a {
    color: #2f3967;
    text-decoration: underline;
}

.privacy-footer {
    background: #f8f9fa;
    padding: 20px 30px;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

.accept-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accept-btn:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .user-form {
        padding: 25px;
    }
    
    .form-header h2 {
        font-size: 1.5em;
    }
    
    .privacy-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .privacy-body {
        padding: 20px;
        max-height: 60vh;
    }
    
    .user-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* Form validasyon stilleri */
.form-group input:invalid {
    border-color: #ee3131;
    box-shadow: 0 0 0 3px rgba(238, 49, 49, 0.1);
}

.form-group input:valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.error-message {
    color: #ee3131;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

.success-message {
    color: #28a745;
    font-size: 0.85em;
    margin-top: 5px;
    display: block;
}

/* Bildirim ve Save Notification Stilleri */
.notification, .save-notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    margin-bottom: 15px;
    border-left: 5px solid #28a745;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
    overflow: hidden;
}

.notification.error, .save-notification.error {
    border-left-color: #dc3545;
}

.notification.success, .save-notification.success {
    border-left-color: #28a745;
}

.notification.warning {
    border-left-color: #ffc107;
}

.notification-content {
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    position: relative;
}

.notification-content i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.notification.success i, .save-notification.success i {
    color: #28a745;
}

.notification.error i, .save-notification.error i {
    color: #dc3545;
}

.notification.warning i {
    color: #ffc107;
}

.notification-text {
    flex: 1;
    line-height: 1.4;
}

.notification-text strong {
    display: block;
    margin-bottom: 5px;
    color: #2f3967;
}

.notification-text p {
    margin: 3px 0;
    color: #666;
    font-size: 0.9em;
}

.notification-text small {
    color: #999;
    font-size: 0.85em;
}

.close-notification {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-notification:hover {
    background: rgba(0,0,0,0.1);
    color: #333;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Save notification özel stilleri */
.save-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 30000;
    max-width: 450px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

.save-notification .notification-text strong {
    font-size: 1.1em;
}

/* Responsive bildirimler */
@media (max-width: 768px) {
    .notification, .save-notification {
        max-width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        margin: 0 auto 15px auto;
    }
    
    .save-notification {
        position: fixed;
        top: 70px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification-content {
        padding: 12px 15px;
    }
}

/* Loading state stilleri */
.submit-btn:disabled {
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn:disabled:hover {
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
    transform: none !important;
}

/* Input focus geliştirmeleri */
.form-group input:focus:invalid {
    border-color: #ee3131;
    box-shadow: 0 0 0 3px rgba(238, 49, 49, 0.15);
}

.form-group input:focus:valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

/* Telefon input için mask desteği */
.form-group input[type="tel"] {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Smooth transitions */
.user-form, .test-form {
    transition: all 0.5s ease-in-out;
}

/* Detailed Criteria Styles */
.detailed-criteria-section {
    margin: 30px 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.criteria-header {
    background: linear-gradient(135deg, #2f3967 0%, #4a5a8c 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.criteria-header h3 {
    margin: 0;
    font-size: 1.5em;
}

.criteria-toggle {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

.criteria-toggle:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.criteria-summary {
    padding: 20px;
    border-bottom: 2px solid #f0f2f5;
}

.criteria-summary h4 {
    margin: 0 0 20px 0;
    color: #2f3967;
}

.criteria-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.criteria-summary-item {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    background: #f8f9fa;
    border: 2px solid transparent;
}

.criteria-summary-item.criteria-passed {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border-color: #4CAF50;
}

.criteria-summary-item.criteria-failed {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-color: #f44336;
}

.criteria-summary-item.criteria-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #ff9800;
}

.criteria-summary-item.criteria-pending {
    background: linear-gradient(135deg, #f4efff 0%, #e4d9ff 100%);
    border-color: #823dea;
}

.criteria-summary-item.criteria-not-applicable {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-color: #9e9e9e;
}

.criteria-summary-number {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.criteria-summary-label {
    font-size: 0.9em;
    color: #666;
    font-weight: 600;
}

.criteria-details {
    padding: 0 20px 20px 20px;
}

.criteria-category {
    margin-bottom: 25px;
}

.criteria-category-title {
    color: #2f3967;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e6ed;
    font-size: 1.2em;
}

.criteria-list {
    display: grid;
    gap: 10px;
}

.criteria-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #ddd;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.criteria-item.criteria-passed {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    border-left-color: #4CAF50;
}

.criteria-item.criteria-failed {
    background: linear-gradient(135deg, #ffeaa7 0%, #ffebee 100%);
    border-left-color: #f44336;
}

.criteria-item.criteria-warning {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border-left-color: #ff9800;
}

.criteria-item.criteria-pending {
    background: linear-gradient(135deg, #f4efff 0%, #efe3ff 100%);
    border-left-color: #823dea;
}

.criteria-item.criteria-not-applicable {
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-left-color: #9e9e9e;
    opacity: 0.8;
}

.criteria-item-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.criteria-status {
    font-size: 1.2em;
    min-width: 24px;
}

.criteria-name {
    flex: 1;
    font-weight: 600;
    color: #2f3967;
}

.criteria-stats {
    font-size: 0.9em;
    color: #666;
    background: rgba(255,255,255,0.7);
    padding: 5px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.criteria-item-details {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.criteria-description {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2f3967;
    font-size: 0.95em;
}

.criteria-explanation {
    color: #555;
    line-height: 1.5;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.criteria-elements {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #dee2e6;
    font-size: 0.85em;
    color: #666;
}

.criteria-elements code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #495057;
}