.mnc-calculator-form {
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.mnc-calculator-form h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 600;
}

.mnc-field {
    margin-bottom: 25px;
}

.mnc-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 16px;
}

.mnc-field select,
.mnc-field input[type='date'] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
    color: #2c3e50;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.mnc-field select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
}

.mnc-field select:focus,
.mnc-field input[type='date']:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.mnc-field select:hover,
.mnc-field input[type='date']:hover {
    border-color: #bdc3c7;
}

.mnc-submit-btn[type=submit] {
    width: 100%;
    background: #074d22;
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.mnc-submit-btn[type=submit]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 166, 26, 0.3);
    background: #19a61a;
}

.mnc-submit-btn[type=submit]:active {
    transform: translateY(0);
}

.mnc-submit-btn[type=submit]:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mnc-conditional {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mnc-conditional.show {
    opacity: 1;
    max-height: 100px;
}

.mnc-results {
    margin-top: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.mnc-results.show {
    opacity: 1;
    transform: translateY(0);
}

.mnc-calculation-results {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
}

.mnc-calculation-results h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
}

.mnc-calculation-results h4 {
    color: #34495e;
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 16px;
}

.mnc-notice-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.mnc-notice-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #ffeaa7;
    font-weight: 500;
}

.mnc-results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 0.8em;
}

.mnc-results-table th {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mnc-results-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    color: #2c3e50;
}

.mnc-results-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.mnc-results-table tbody tr:hover {
    background: #e3f2fd;
}

.mnc-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #f5c6cb;
    font-weight: 500;
}

.mnc-loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.mnc-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

.mnc-date-quick-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 4px 8px;
    margin-right: 6px;
    margin-bottom: 4px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.mnc-date-quick-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.mnc-date-quick-btn:active {
    background: #dee2e6;
}

.mnc-results-table tbody tr.mnc-highlight-step {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
    font-weight: 600;
    color: #856404;
}

.mnc-date-quick-btn:last-child {
    margin-right: 0;
}

.mnc-info-cards {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.mnc-info-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.mnc-info-card h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.mnc-info-card .card-content {
    color: #7f8c8d;
    font-size: 16px;
    line-height: 1.4;
}

.mnc-info-card .card-content .day-name {
    display: block;
    margin-bottom: 4px;
}

.mnc-info-card .card-content .date {
    display: block;
    font-size: 16px;
}

@media (max-width: 768px) {
    .mnc-calculator-form {
        margin: 10px;
        padding: 20px;
    }
    
    .mnc-results-table th,
    .mnc-results-table td {
        padding: 8px 6px;
        font-size: 14px;
    }
    
    .mnc-info-cards {
        flex-direction: column;
        gap: 15px;
    }
    
    .mnc-info-card {
        min-width: auto;
    }
}