/* Broker Security Guide - Specific Styles */

/* Security Overview */
.security-overview {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.security-answer {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid #bbf7d0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.security-answer h3 {
    color: #166534;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.security-answer p {
    color: #166534;
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Security Layers */
.security-layers {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.security-layers h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.layers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.security-layer {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.security-layer:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.layer-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.security-layer h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.security-layer p {
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

/* Safety Comparison */
.safety-comparison {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    clear: both;
}

.safety-comparison h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.comparison-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-row.comparison-header {
    background: #f8fafc;
    font-weight: 700;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-cell {
    padding: 0.5rem;
    text-align: center;
}

.comparison-note {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    margin: 0;
}

.comparison-note strong {
    color: #166534;
}

/* Regulation Info */
.regulation-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.regulator-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.regulator-card h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.regulator-details p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.regulator-functions h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.regulator-functions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.regulator-functions li {
    color: #4b5563;
    padding: 0.375rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.regulator-functions li::before {
    content: "⚖️";
    position: absolute;
    left: 0;
    top: 0.375rem;
}

/* License Requirements */
.license-requirements {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.license-requirements h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.license-requirements p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    width: fit-content;
    margin: auto;
    gap: 1.5rem;
}

.requirement-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.requirement-item h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

.requirement-item p {
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

/* Regulation Benefits */
.regulation-benefits {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.regulation-benefits h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #f0f9ff;
    transform: translateX(4px);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-text h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.benefit-text p {
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

/* Deposit Protection */
.deposit-protection {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.protection-overview {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.protection-overview h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.protection-overview p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.protection-details {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 1.5rem;
}

.protection-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.protection-item h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.protection-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.protection-item li {
    color: #4b5563;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.protection-item li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Protection Calculation */
.protection-calculation {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.protection-calculation h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.calculation-examples {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calc-example {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.calc-example h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.calc-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 6px;
}

.calc-row.total {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    font-weight: 600;
}

.calc-tip {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
}

.calc-tip h4 {
    color: #92400e;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.calc-tip p {
    color: #92400e;
    margin: 0;
    line-height: 1.6;
}

/* Special Assets */
.special-assets {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.sondervermoegen-explanation {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.sondervermoegen-explanation h3 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.sondervermoegen-explanation p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.protection-explanation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.protection-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.step-number {
    background: #3b82f6;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
}

.step-content p {
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

/* Asset Types */
.asset-types {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.asset-types h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.asset-categories {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 1.5rem;
}

.asset-category {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
}

.asset-category.protected {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.asset-category.limited {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
}

.asset-category h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.asset-category.protected h4 {
    color: #166534;
}

.asset-category.limited h4 {
    color: #92400e;
}

.asset-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.asset-category li {
    padding: 0.375rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.asset-category.protected li {
    color: #166534;
}

.asset-category.limited li {
    color: #92400e;
}

.asset-category.protected li::before {
    content: "✅";
    position: absolute;
    left: 0;
    top: 0.375rem;
}

.asset-category.limited li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
    top: 0.375rem;
}

/* Insolvency Scenario */
.insolvency-scenario {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.insolvency-scenario h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.scenario-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.scenario-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 32px;
    bottom: 32px;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.timeline-marker {
    background: #3b82f6;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-content {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    flex: 1;
}

.timeline-content h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.timeline-content p {
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.real-example {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.5rem;
}

.real-example h4 {
    color: #166534;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.real-example p {
    color: #166534;
    margin: 0;
    line-height: 1.6;
}

.real-example strong {
    font-weight: 700;
}

/* Secure Brokers Grid */
.secure-brokers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.secure-broker-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.secure-broker-card:hover {
    border-color: #10b981;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.broker-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.broker-header img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.broker-title h3 {
    margin: 0 0 0.25rem 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 700;
}

.security-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: #10b981;
    font-size: 0.875rem;
}

.rating-text {
    color: #10b981;
    font-size: 0.875rem;
    font-weight: 600;
}

.security-features {
    margin-bottom: 1.5rem;
}

.security-features h4 {
    color: #10b981;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
}

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

.security-features li {
    color: #374151;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.security-features li::before {
    content: "🛡️";
    position: absolute;
    left: 0;
    top: 0.25rem;
}

.broker-facts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fact-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.fact-value {
    color: #1f2937;
    font-weight: 600;
}

.security-cta {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
}

.security-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    color: white;
}

/* Risk Prevention */
.risk-prevention {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.warning-signs {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 2rem;
}

.warning-signs h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.warning-signs p {
    color: #dc2626;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.warning-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 2px solid #fecaca;
    border-radius: 8px;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.warning-content h4 {
    color: #dc2626;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.warning-content p {
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

/* Safety Tips */
.safety-tips {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
}

.safety-tips h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.tip-card h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
}

.tip-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tip-card li {
    color: #4b5563;
    padding: 0.375rem 0;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.tip-card li::before {
    content: "💡";
    position: absolute;
    left: 0;
    top: 0.375rem;
}

/* Security Checklist */
.security-checklist {
    margin-top: 2rem;
}

.security-checklist p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.checklist-categories {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
}

.checklist-category {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.checklist-category:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.checklist-category h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checklist-item:hover {
    background: #f8fafc;
}

.checklist-item input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 1rem;
    height: 1rem;
    accent-color: #10b981;
    cursor: pointer;
}

.checklist-item label {
    color: #4b5563;
    line-height: 1.5;
    flex: 1;
    cursor: pointer;
}

.checklist-item:has(input:checked) label {
    color: #10b981;
    font-weight: 500;
}

.checklist-result {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #bfdbfe;
    border-radius: 12px;
}

.checklist-result h3 {
    color: #1d4ed8;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.result-info p {
    color: #1d4ed8;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

.result-info strong {
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .layers-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .protection-details {
        grid-template-columns: 1fr;
    }
    
    .calculation-examples {
        grid-template-columns: 1fr;
    }
    
    .asset-categories {
        grid-template-columns: 1fr;
    }
    
    .secure-brokers-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .checklist-categories {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .scenario-timeline::before {
        left: 12px;
    }
    
    .timeline-marker {
        width: 24px;
        height: 24px;
        font-size: 0.875rem;
    }
} 