/* Depot Cancellation Guide - Specific Styles */

/* Cancellation Reasons */
.cancellation-reasons {
    margin-top: 2rem;
    max-width: 1000px;
    margin: auto;
    width: fit-content;
}

.reasons-overview {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.reasons-overview h3 {
    color: #166534;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

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

.reason-card {
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.reason-card.valid {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid #bbf7d0;
}

.reason-card.valid:hover {
    border-color: #10b981;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
}

.reason-card.warning {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border: 2px solid #fca5a5;
}

.reason-card.warning:hover {
    border-color: #ef4444;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.15);
}

.reason-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

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

.reason-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
}

.reason-example {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
    margin-bottom: 0.5rem;
}

.reason-advice {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #166534;
}

.bad-reasons {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.bad-reasons h3 {
    color: #dc2626;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

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

/* Decision Helper */
.decision-helper {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
}

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

/* Modern slim calculator form */
.decision-calculator {
    margin-top: 2rem;
    max-width: 800px;
    margin: auto;
}

.decision-calculator h4 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.calculator-form {
    display: grid;
    background: white;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.calculator-form:hover {
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.1);
}

.calculator-form button {
    margin: auto;
}

.calc-section {
    margin-bottom: 2rem;
}

.calc-section h5 {
    color: #374151;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

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

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    color: #374151;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.input-group input,
.input-group select {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    transition: all 0.2s ease;
}

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

.input-group span {
    color: #6b7280;
    font-size: 0.875rem;
}

.calc-button {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.calc-button:hover {
    background: #2563eb;
}

.calc-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid transparent;
}

.calc-result-content.positive {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-color: #bbf7d0;
}

.calc-result-content.neutral {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border-color: #fcd34d;
}

.calc-result-content.negative {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border-color: #fca5a5;
}

.recommendation-positive {
    color: #166534;
}

.recommendation-neutral {
    color: #92400e;
}

.recommendation-negative {
    color: #dc2626;
}

.calc-breakdown {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Preparation Guide */
.preparation-guide {
    margin-top: 2rem;
}

.preparation-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin: auto;
}

.preparation-warning h3 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.warning-content p {
    color: #92400e;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

.warning-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto;
}

.step {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.step.correct {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* Preparation Checklist */
.preparation-checklist {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.checklist-category {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.checklist-category h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

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

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checklist-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #10b981;
    flex-shrink: 0;
}

.checklist-item label {
    color: #374151;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
}

/* Timing Advice */
.timing-advice {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
}

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

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

.timing-card {
    border-radius: 8px;
    padding: 1.5rem;
}

.timing-card.good {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid #bbf7d0;
}

.timing-card.bad {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border: 2px solid #fca5a5;
}

.timing-card h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.timing-card.good h4 {
    color: #166534;
}

.timing-card.bad h4 {
    color: #dc2626;
}

.timing-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.timing-card li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.timing-card.good li {
    color: #166534;
}

.timing-card.bad li {
    color: #dc2626;
}

/* Step-by-Step Guide */
.step-by-step-guide {
    margin-top: 2rem;
}

.process-overview {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.process-timeline {
    display: grid;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.timeline-number {
    background: #3b82f6;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.duration {
    color: #6b7280;
    font-size: 0.875rem;
    font-style: italic;
}

/* Detailed Steps */
.detailed-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step-section {
    background: white;
    max-width: 800px;
    margin: auto;
    width: fit-content;
    border-radius: 12px;
    padding: 2rem;
}

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

.step-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-description {
    background: #f0f9ff;
    border: 1px solid #93c5fd;
    border-radius: 8px;
    padding: 1.5rem;
}

.step-description p {
    color: #1e40af;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.step-actions h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.step-actions ol {
    margin: 0;
    padding-left: 1.5rem;
}

.step-actions li {
    color: #4b5563;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.transfer-timeline h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.transfer-phases {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.phase {
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    color: #4b5563;
}

.step-tips {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 1rem;
    font-size: 0.875rem;
    color: #166534;
}

/* Common Problems */
.common-problems {
    background: white;
    max-width: 800px;
    margin: auto;
    width: fit-content;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

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

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

.problem-card {
    background: #fef2f2;
    border: 2px solid #fca5a5;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: #ef4444;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.1);
}

.problem-card h4 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.problem-card p {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.problem-card p:first-of-type {
    color: #dc2626;
}

.problem-card p:last-of-type {
    color: #166534;
}

/* Cancellation Letter */
.cancellation-letter {
    max-width: 1000px;
    margin: auto;
    width: fit-content;
    margin-top: 2rem;
}

.letter-intro {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.letter-intro h3 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.letter-intro p {
    color: #1e40af;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.letter-template {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.template-header h4 {
    color: #1f2937;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.copy-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.template-content {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.template-text pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Letter Variants */
.letter-variants {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.variant-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.variant-card h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.variant-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.variant-text {
    background: #f0f9ff;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    padding: 1rem;
    font-size: 0.875rem;
    color: #1e40af;
    font-style: italic;
}

/* Sending Options */
.sending-options {
    background: white;
    border-radius: 12px;
    padding: 2rem;
}

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

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

.method-card {
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.method-card.recommended {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid #bbf7d0;
}

.method-card.acceptable {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border: 2px solid #fcd34d;
}

.method-card.good {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border: 2px solid #93c5fd;
}

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

.method-card h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.method-card.recommended h4 {
    color: #166534;
}

.method-card.acceptable h4 {
    color: #92400e;
}

.method-card.good h4 {
    color: #1e40af;
}

.method-details p {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #4b5563;
}

/* Post Cancellation */
.post-cancellation {
    max-width: 600px;
    margin: auto;
    width: fit-content;
    margin-top: 2rem;
}

.immediate-tasks {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.immediate-tasks h3 {
    color: #dc2626;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

.task-checklist {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
}

.task-item.urgent {
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
    border: 2px solid #fca5a5;
}

.task-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.task-content h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.task-content p {
    color: #4b5563;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Tax Considerations */
.tax-considerations {
    background: white;
    max-width: 800px;
    margin: auto;
    width: fit-content;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.tax-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tax-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.tax-card.important {
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
    border: 2px solid #fcd34d;
}

.tax-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.tax-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.tax-card ul {
    margin: 0;
    padding-left: 1.25rem;
}

.tax-card li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Document Management */
.document-management {
    background: white;
    max-width: 800px;
    margin: auto;
    width: fit-content;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

.archive-guide {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.archive-category {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.archive-category h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.archive-category ul {
    margin: 0;
    padding-left: 1.25rem;
}

.archive-category li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

/* Final Check */
.final-check {
    background: white;
    max-width: 800px;
    margin: auto;
    width: fit-content;
    border-radius: 12px;
    padding: 2rem;
}

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

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

.check-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.check-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #10b981;
    flex-shrink: 0;
}

.check-item label {
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

/* Broker Comparison (same as other guides) */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 2rem;
    margin-top: 2rem;
}

.comparison-card {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

.comparison-card.featured {
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.comparison-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.broker-info img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.broker-info h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.rating {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.broker-advantages {
    text-align: left;
    margin-bottom: 1.5rem;
}

.broker-advantages h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.broker-advantages ul {
    margin: 0;
    padding-left: 1.25rem;
}

.broker-advantages li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.cost-comparison {
    text-align: left;
    margin-bottom: 2rem;
}

.cost-comparison h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.cost-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 4px;
    font-size: 0.875rem;
}

.cost-item span {
    color: #6b7280;
}

.cost-item strong {
    color: #166534;
    font-weight: 600;
}

.broker-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.broker-actions .btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.broker-actions .btn-primary {
    background: #3b82f6;
    color: white;
}

.broker-actions .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.broker-actions .btn-secondary {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.broker-actions .btn-secondary:hover {
    background: #3b82f6;
    color: white;
}

/* Broker Selection Help */
.broker-selection-help {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

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

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

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

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

.selection-card h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

.selection-card p {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.recommendation {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #166534;
}

.reason {
    background: #f0f9ff;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #1e40af;
}

/* Legal Information */
.legal-information {
    margin-top: 2rem;
}

.legal-overview {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.right-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.right-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.right-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.legal-basis {
    background: #f0f9ff;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #1e40af;
}

/* Obligations Section */
.obligations-section {
    background: white;
    max-width: 800px;
    margin: auto;
    width: fit-content;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.obligation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.obligation-icon {
    font-size: 1.5rem;
    color: #10b981;
    flex-shrink: 0;
}

.obligation-content h4 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.obligation-content p {
    color: #4b5563;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Special Cases */
.special-cases {
    background: white;
    
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

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

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

.case-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.case-card h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.case-card p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.case-note {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #92400e;
}

/* Dispute Resolution */
.dispute-resolution {
    background: white;
    max-width: 800px;
    margin: auto;
    width: fit-content;
    border-radius: 12px;
    padding: 2rem;
}

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

.resolution-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.resolution-step {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.resolution-step h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.resolution-step p {
    color: #4b5563;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .good-reasons,
    .warning-reasons,
    .checklist-categories,
    .timing-recommendations,
    .variants-grid,
    .sending-methods,
    .rights-grid,
    .cases-grid,
    .selection-guide {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline-item {
        flex-direction: row;
        text-align: left;
    }
    
    .timeline-number {
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .template-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .calc-inputs {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
        align-items: center;
    }
    
    .input-group label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-content {
        gap: 1rem;
    }
    
    .obligations-list,
    .task-checklist {
        gap: 1rem;
    }
    
    .obligation-item,
    .task-item {
        flex-direction: column;
        text-align: center;
    }
    
    .obligation-icon,
    .task-icon {
        align-self: center;
    }
} 

/* Depot Kuendigen Timeline - Revert to the good styling */
#schritt-anleitung .depot-kuendigen-timeline {
    width: fit-content;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 2rem auto 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

#schritt-anleitung .depot-kuendigen-timeline:hover {
    box-shadow: 0 12px 25px rgba(59, 130, 246, 0.1);
}

#schritt-anleitung .depot-kuendigen-timeline h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.375rem;
    font-weight: 700;
    text-align: center;
}

#schritt-anleitung .process-timeline {
    position: relative;
    padding-left: 2rem;
}

#schritt-anleitung .process-timeline::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

#schritt-anleitung .depot-kuendigen-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-left: 2rem;
}

#schritt-anleitung .depot-kuendigen-timeline-item:last-child {
    margin-bottom: 0;
}

#schritt-anleitung .depot-kuendigen-timeline-item .step-number {
    position: absolute;
    left: -2rem;
    width: 3rem;
    height: 3rem;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    z-index: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

#schritt-anleitung .depot-kuendigen-timeline-item .step-number:hover {
    background: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

#schritt-anleitung .depot-kuendigen-timeline-item .step-content {
    flex: 1;
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#schritt-anleitung .depot-kuendigen-timeline-item:hover .step-content {
    background: #f1f5f9;
    border-color: #3b82f6;
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

#schritt-anleitung .depot-kuendigen-timeline-item .step-content h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-align: left;
}

#schritt-anleitung .depot-kuendigen-timeline-item .step-content p {
    color: #4b5563;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: left;
}

#schritt-anleitung .depot-kuendigen-timeline-item .step-duration {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#schritt-anleitung .depot-kuendigen-timeline-item:hover .step-duration {
    background: #2563eb;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #schritt-anleitung .depot-kuendigen-timeline {
        padding: 1.5rem;
        margin: 1rem auto 0;
    }
    
    #schritt-anleitung .process-timeline {
        padding-left: 2.5rem;
    }
    
    #schritt-anleitung .process-timeline::before {
        left: 1.25rem;
    }
    
    #schritt-anleitung .depot-kuendigen-timeline-item {
        padding-left: 2.5rem;
    }
    
    #schritt-anleitung .depot-kuendigen-timeline-item .step-number {
        left: -2.5rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    #schritt-anleitung .depot-kuendigen-timeline-item .step-content {
        padding: 1.25rem;
    }
    
    #schritt-anleitung .depot-kuendigen-timeline-item .step-duration {
        position: static;
        display: inline-block;
        margin-top: 0.5rem;
    }
} 

/* Make all sections more compact like beste-etfs-anfaenger with responsive design */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: 2rem auto;
    gap: 2rem;
}

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

.cost-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 800px;
}

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

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

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

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

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

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

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

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

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

/* Remove borders from containers for modern look */
.process-overview,
.detailed-steps,
.letter-templates,
.document-preparation,
.timing-section {
    border: none;
    background: transparent;
    padding: 1rem 0;
}

/* Replace thick borders with subtle styling for cards */
.cost-card,
.warning-item,
.reason-card,
.alternative-card,
.requirement-card,
.contact-card,
.variant-card,
.template-card,
.check-item,
.confirmation-item,
.after-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cost-card:hover,
.reason-card:hover,
.alternative-card:hover,
.requirement-card:hover,
.contact-card:hover,
.variant-card:hover,
.template-card:hover,
.check-item:hover,
.confirmation-item:hover,
.after-item:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

/* Responsive design for grids */
@media (max-width: 1024px) {
    .reasons-grid,
    .alternatives-grid,
    .requirements-grid,
    .timing-recommendations,
    .cancellation-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 600px;
    }
    
    .contact-methods,
    .variants-grid,
    .template-grid,
    .quick-checklist,
    .cancellation-confirmation,
    .after-cancellation {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .reasons-grid,
    .alternatives-grid,
    .requirements-grid,
    .timing-recommendations,
    .cancellation-grid,
    .contact-methods,
    .variants-grid,
    .template-grid,
    .quick-checklist,
    .cancellation-confirmation,
    .after-cancellation,
    .problems-grid {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 1rem auto;
        gap: 1rem;
    }
} 

/* Broker Comparison Grid Carousel */
.broker-comparison-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

/* Desktop: Hide carousel controls but show cards in normal grid */
.carousel-btn,
.carousel-indicators {
    display: none;
}

.broker-carousel {
    display: block;
}

.carousel-track-container {
    overflow: visible;
}

.carousel-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    transform: none !important;
}

.broker-carousel .broker-card {
    flex: 0 0 auto;
    min-width: auto;
    width: fit-content;
}

.broker-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    width: fit-content;
    min-width: 280px;
    max-width: 320px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    height: fit-content;
}

.broker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3b82f6;
}

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

.broker-card .badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.broker-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.broker-card h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.broker-card .rating {
    color: #fbbf24;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.broker-card .features {
    margin-bottom: 1.5rem;
    text-align: left;
}

.feature-item {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.feature-item strong {
    color: #1f2937;
    font-weight: 600;
}

.broker-card .cost-comparison {
    margin-bottom: 1.5rem;
    text-align: left;
}

.broker-card .cost-comparison h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.cost-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 4px;
    font-size: 0.875rem;
}

.cost-item span {
    color: #6b7280;
}

.cost-item strong {
    color: #166534;
    font-weight: 600;
}

.broker-card .learn-more {
    background: #3b82f6;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.broker-card .learn-more:hover {
    background: #2563eb;
    transform: translateY(-2px);
    color: white;
}

/* Mobile: Show carousel */
@media (max-width: 768px) {
    .carousel-btn,
    .carousel-indicators {
        display: flex;
    }
    
    .broker-comparison-grid .carousel-track-container {
        overflow: hidden;
        border-radius: 12px;
        padding-top: 20px;
        width: 100%;
        position: relative;
    }
    
    .carousel-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        transition: transform 0.3s ease !important;
    }
    
    .carousel-container .broker-card {
        flex: 0 0 calc(100% - 4px);
        min-width: calc(100% - 4px);
        width: calc(100% - 4px);
        box-sizing: border-box;
        margin: 0 2px;
        border: none;
        box-shadow: inset 0 0 0 1px #e5e7eb;
    }
    
    .carousel-container .broker-card.winner {
        box-shadow: inset 0 0 0 1px #10b981;
    }
    
    .carousel-container .broker-card:hover {
        transform: none;
    }
    
    .carousel-container .broker-card .badge {
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100;
    }
    
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid #e5e7eb;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        font-weight: bold;
        color: #374151;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1000;
        pointer-events: auto;
        user-select: none;
    }
    
    .carousel-btn:hover {
        background: white;
        border-color: #3b82f6;
        color: #3b82f6;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: none;
        background: #d1d5db;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .indicator.active {
        background: #3b82f6;
    }
} 