/* Security Report Page Styles */

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.9375rem;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

.nav-cta {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: #ffffff;
}

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

.mobile-nav-cta {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.report-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0a0f1a 0%, #1e293b 100%);
    text-align: center;
}

.report-hero .container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    color: white;
}

.report-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.report-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.report-main {
    padding: 4rem 0 6rem;
    background: #f8fafc;
}

.report-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.report-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2rem;
    align-items: start;
}

/* ============================================
   LEFT COLUMN - INFO
   ============================================ */
.report-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.info-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
}

.info-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.info-card > p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.what-to-report h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.what-to-report ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.what-to-report li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #475569;
}

.what-to-report li svg {
    flex-shrink: 0;
    color: #3b82f6;
}

/* Commitment Card */
.info-card.commitment h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.commitment-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.commitment-item {
    display: flex;
    gap: 1rem;
}

.commitment-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
    color: #3b82f6;
}

.commitment-item strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.125rem;
}

.commitment-item p {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

/* Urgent Card */
.info-card.urgent {
    background: linear-gradient(135deg, #fef2f2, #fff);
    border-color: #fecaca;
}

.info-card.urgent h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.info-card.urgent > p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.urgent-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #dc2626;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.urgent-phone:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.urgent-email {
    font-size: 0.8125rem;
    color: #64748b;
    margin-top: 0.75rem !important;
    margin-bottom: 0 !important;
}

.urgent-email a {
    color: #3b82f6;
    text-decoration: none;
}

.urgent-email a:hover {
    text-decoration: underline;
}

/* ============================================
   RIGHT COLUMN - FORM
   ============================================ */
.report-form-container {
    min-width: 0;
}

.form-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
}

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

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

.form-header p {
    color: #64748b;
    font-size: 0.9375rem;
}

/* Form Sections */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.form-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.optional-note {
    font-size: 0.75rem;
    font-weight: 400;
    color: #94a3b8;
}

.required-note {
    font-size: 0.75rem;
    font-weight: 400;
    color: #ef4444;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-group .required {
    color: #ef4444;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #1e293b;
    background: white;
    transition: all 0.2s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.char-count {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

/* Severity Options */
.severity-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.severity-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.severity-option:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.severity-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.severity-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.severity-badge.critical {
    background: #fef2f2;
    color: #dc2626;
}

.severity-badge.high {
    background: #fff7ed;
    color: #ea580c;
}

.severity-badge.medium {
    background: #fefce8;
    color: #ca8a04;
}

.severity-badge.low {
    background: #f0fdf4;
    color: #16a34a;
}

.severity-desc {
    font-size: 0.8125rem;
    color: #64748b;
}

/* File Upload */
.file-upload-zone {
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.03);
}

.upload-content svg {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.upload-content p {
    color: #475569;
    font-size: 0.9375rem;
    margin-bottom: 0.25rem;
}

.upload-link {
    color: #3b82f6;
    font-weight: 500;
    cursor: pointer;
}

.upload-info {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* File Preview */
.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.file-preview:empty {
    display: none;
}

.file-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .remove-file {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.file-preview-item .remove-file:hover {
    background: #dc2626;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
}

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

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading::after {
    content: 'Submitting...';
}

.form-disclaimer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #64748b;
    text-align: center;
    justify-content: center;
}

.form-disclaimer svg {
    flex-shrink: 0;
    color: #10b981;
}

/* ============================================
   SUCCESS STATE
   ============================================ */
.success-state {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: white;
}

.success-state h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.success-state > p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto 2rem;
}

/* Ticket Info */
.ticket-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.ticket-label {
    font-size: 0.8125rem;
    color: #64748b;
}

.ticket-number {
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: #3b82f6;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.copy-ticket {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.copy-ticket:hover {
    background: #e2e8f0;
    color: #3b82f6;
}

/* Next Steps */
.next-steps {
    text-align: left;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.next-steps h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 1rem;
}

.next-steps ol {
    margin: 0;
    padding-left: 1.25rem;
}

.next-steps li {
    color: #166534;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.next-steps li strong {
    color: #15803d;
}

/* Success Actions */
.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #2563eb;
}

.btn-secondary {
    background: white;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .report-grid {
        grid-template-columns: 1fr;
    }
    
    .report-info {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .info-card {
        flex: 1 1 300px;
    }
}

@media (max-width: 768px) {
    .report-hero {
        padding: 6rem 0 3rem;
    }
    
    .report-main {
        padding: 2rem 0 4rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .severity-option {
        flex-wrap: wrap;
    }
    
    .severity-desc {
        width: 100%;
        padding-left: calc(18px + 0.75rem);
    }
    
    .ticket-info {
        flex-wrap: wrap;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section.footer-brand {
        padding-right: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .report-hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-icon {
        width: 64px;
        height: 64px;
    }
    
    .hero-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .info-card {
        flex: 1 1 100%;
    }
    
    .file-upload-zone {
        padding: 1.5rem 1rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0a0f1a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-section.footer-brand > p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    margin: 0;
    line-height: 1.6;
}

.footer-contact a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-contact a:hover {
    color: #60a5fa;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6;
}

.certifications {
    margin-top: 1.5rem;
}

.certifications p {
    margin-bottom: 0.75rem;
    color: #94a3b8;
}

.footer-certs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 6px;
    color: #3b82f6;
    font-size: 0.75rem;
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    margin: 0;
}

.footer-tagline {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.25rem !important;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}
