/* Basic Styles & Fonts */
.srac-app-container {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #1e293b;
    padding: 2rem;
    border-radius: 0.75rem;
    /*max-width: 800px;*/
    margin: 2rem auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Input & Labels */
.srac-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.srac-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}
.srac-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.srac-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}
.srac-unit {
    font-size: 0.875rem;
    color: #64748b;
}

/* Unit Switch */
.srac-switch-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.srac-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.srac-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.srac-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
    border-radius: 34px;
}
.srac-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .srac-slider {
    background-color: #3b82f6;
}
input:checked + .srac-slider:before {
    transform: translateX(26px);
}

/* Buttons */
.srac-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
}
.srac-btn-primary {
    background-color: #3b82f6;
    color: white;
}
.srac-btn-primary:hover {
    background-color: #2563eb;
}
 .srac-btn-danger {
    background-color: #fee2e2;
    color: #dc2626;
}
.srac-btn-danger:hover {
    background-color: #fecaca;
}

/* Section Card */
.srac-section-card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}
.srac-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
.srac-section-title {
    font-size: 1.25rem;
    font-weight: 600;
}
.srac-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .srac-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.srac-inputs-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.srac-results-container {
    background-color: #f1f5f9;
    padding: 1.5rem;
    border-radius: 0.5rem;
    padding-bottom: 0.2rem;
}
.srac-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    line-height: 0.8;
}
 .srac-result-label {
    color: #475569;
}
.srac-result-value {
    font-weight: 600;
    color: #1e293b;
    padding: 0.25rem 0.5rem;
    background-color: #e2e8f0;
    border-radius: 0.25rem;
}
.srac-angle-graphic-container {
     display: flex;
     justify-content: center;
     align-items: center;
     margin-top: 1rem;
     min-height: 120px;
}

/* Total Area Section */
.srac-total-area-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #1e293b;
    color: white;
    border-radius: 0.75rem;
    text-align: center;
}
.srac-total-label {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #cbd5e1;
}
.srac-total-value {
    font-size: 2.25rem;
    font-weight: 700;
}
