/* Family Chore Calculator Styles */
.fcc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    min-height: 100vh;
}

.fcc-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #4CAF50;
}

.fcc-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.fcc-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.fcc-app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .fcc-app-container {
        grid-template-columns: 1fr;
    }
}

.fcc-input-section, .fcc-output-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.fcc-section-title {
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f3f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fcc-section-title i {
    color: #4CAF50;
}

.fcc-form-group {
    margin-bottom: 25px;
}

.fcc-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fcc-form-group label i {
    color: #4CAF50;
    width: 20px;
}

.fcc-form-group input, .fcc-form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fafcfd;
}

.fcc-form-group input:focus, .fcc-form-group select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    background: white;
}

.fcc-btn {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.fcc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.fcc-btn-generate {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.fcc-btn-generate:hover {
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.fcc-button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.fcc-output-content {
    min-height: 200px;
}

.fcc-plan-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #4CAF50;
    transition: all 0.3s;
}

.fcc-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.fcc-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.fcc-plan-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.fcc-plan-badge {
    background: #2196F3;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.fcc-chore-schedule {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.fcc-schedule-header-cell {
    background: #2196F3;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    font-weight: 600;
}

.fcc-schedule-cell {
    background: #f8fafc;
    border-radius: 5px;
    padding: 10px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fcc-chore-assignment {
    background: #e8f5e9;
    border-radius: 4px;
    padding: 5px 8px;
    font-size: 0.8rem;
    color: #2c3e50;
    border-left: 3px solid #4CAF50;
}

.fcc-chore-assignment.easy {
    background: #e8f5e9;
    border-left-color: #4CAF50;
}

.fcc-chore-assignment.medium {
    background: #fff3e0;
    border-left-color: #FF9800;
}

.fcc-chore-assignment.hard {
    background: #ffebee;
    border-left-color: #F44336;
}

.fcc-fairness-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.fcc-metric-card {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.fcc-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 5px;
}

.fcc-metric-label {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.fcc-loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.fcc-spinner {
    border: 5px solid rgba(76, 175, 80, 0.2);
    border-left-color: #4CAF50;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: fcc-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes fcc-spin {
    to { transform: rotate(360deg); }
}

.fcc-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.fcc-empty-state i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #e1e8ed;
}

.fcc-tips-section {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.fcc-tips-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.fcc-difficulty-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.fcc-difficulty-option {
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.fcc-difficulty-option:hover {
    border-color: #4CAF50;
}

.fcc-difficulty-option.selected {
    border-color: #4CAF50;
    background: #e8f5e9;
}

.fcc-difficulty-icon {
    font-size: 20px;
    margin-bottom: 8px;
    color: #4CAF50;
}

.fcc-difficulty-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.fcc-difficulty-desc {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.fcc-chore-list, .fcc-member-list {
    margin-top: 20px;
}

.fcc-chore-item, .fcc-member-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8fafc;
    margin-bottom: 15px;
    border-left: 4px solid #4CAF50;
}

.fcc-chore-details, .fcc-member-details {
    flex: 1;
}

.fcc-chore-name, .fcc-member-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.fcc-chore-time, .fcc-member-age {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fcc-time-input, .fcc-age-select {
    flex: 1;
}

.fcc-remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcc-add-form {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.fcc-name-input {
    flex: 1;
}

.fcc-add-btn {
    background: #2196F3;
    color: white;
    border: none;
    width: 50px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcc-age-group-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.fcc-age-group-option {
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.fcc-age-group-option:hover {
    border-color: #2196F3;
}

.fcc-age-group-option.selected {
    border-color: #2196F3;
    background: #e3f2fd;
}

.fcc-age-group-icon {
    font-size: 20px;
    margin-bottom: 8px;
    color: #2196F3;
}

.fcc-age-group-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.fcc-age-group-desc {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
}