﻿/* CAA Generator Stilleri */

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.2s;
}

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

.form-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-label:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

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

.checkbox-label input[type="checkbox"]:checked+span {
    color: #2563eb;
    font-weight: 600;
}

/* Result Section */
.result-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.result-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.result-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.result-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.result-content p {
    color: #64748b;
    margin: 0;
}

/* CAA Records */
.caa-records {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.caa-record-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.25rem;
    transition: all 0.2s;
}

.caa-record-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.record-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.caa-type-badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.caa-type-badge.issue {
    background: #dbeafe;
    color: #1e40af;
}

.caa-type-badge.issuewild {
    background: #fef3c7;
    color: #92400e;
}

.caa-type-badge.iodef {
    background: #e0e7ff;
    color: #4338ca;
}

.record-number {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.caa-record-value {
    margin-bottom: 1rem;
}

.caa-record-value code {
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    color: #334155;
    display: block;
    border: 1px solid #e2e8f0;
    word-break: break-all;
    line-height: 1.6;
}

.btn-copy {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-copy:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

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

.copy-icon {
    font-size: 1.1rem;
}

/* Info Box */
.info-box {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    border-radius: 6px;
    padding: 1.5rem;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.info-icon {
    font-size: 1.5rem;
}

.info-box h4 {
    margin: 0;
    color: #1e40af;
    font-size: 1.1rem;
}

.info-steps {
    margin-left: 1.5rem;
    color: #475569;
    line-height: 1.8;
}

.info-steps li {
    margin-bottom: 0.5rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1e293b;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s;
    z-index: 9999;
}

.toast-show {
    opacity: 1;
    transform: translateY(0);
}

.toast-success {
    background: #22c55e;
}

.toast-error {
    background: #ef4444;
}

/* Responsive */
@media (max-width: 768px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .result-header {
        flex-direction: column;
        text-align: center;
    }

    .result-icon {
        font-size: 2.5rem;
    }

    .toast {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
}
/* Hero Section */
.caa-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.hero-content {
    max-width: 750px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

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

.caa-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Features Row */
.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-mini-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
}

.feature-mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.mini-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.mini-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.mini-content p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* Form Card */
.form-card {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 2.5rem 3rem;
}

.form-header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #64748b;
    margin: 0;
}

/* Label Icons */
.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.label-icon {
    font-size: 1.25rem;
}

/* Large Button */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-icon {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .caa-hero {
        padding: 2rem 1.5rem;
    }
    
    .caa-hero h1 {
        font-size: 2rem;
    }
    
    .hero-icon {
        font-size: 3rem;
    }
    
    .features-row {
        grid-template-columns: 1fr;
    }
}



/* Form Card Responsive Padding Override */
@media (max-width: 768px) {
    .form-card {
        padding: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}



/* CAA Nedir Bölümü Boşluk */
.content-card:last-child {
    margin-top: 3rem;
}

