/* --- Claim Page Tool Specific Styles --- */
/* This file reuses many class names from batch-sender.css for consistency */

/* Main container for the wizard */
.tool-section {
    padding: 3rem 0 5rem;
}

.tool-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Styles for each step in the wizard */
.wizard-step {
    display: none; 
    flex-direction: column;
    animation: fadeIn 0.5s ease-in-out;
}

.wizard-step.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.wizard-step .step-description {
    color: var(--text-muted);
    margin-top: 0;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Textarea for claim data input */
.large-textarea {
    width: 100%;
    min-height: 160px;
    background-color: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    color: var(--text-color);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    resize: vertical;
    margin-bottom: 1.5rem;
}

.large-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Summary box for the review step */
.summary-box {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
}

.summary-item span {
    color: var(--text-muted);
}

.summary-item strong {
    color: var(--text-color);
    font-weight: 600;
}

.summary-item.total strong {
    font-size: 1.25rem;
    color: var(--primary-color);
}

/* Success step elements */
.wizard-step h2 .icon {
    margin-right: 0.5rem;
}

.info-box {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
}

.info-box strong {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.info-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Status box for messages and loader */
.status-box {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.status-box p {
    margin: 0;
    font-weight: 600;
}

.status-box.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #f8d7da;
}

.status-box.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #d4edda;
}

/* CSS Loader Animation */
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid var(--text-muted);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

