
        * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f7f378, #4ebaa9, #cac87d);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header placeholder */
.header-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
    
}

/* Main container */
.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.form-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 900px;
    position: relative;
    overflow: hidden;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 10;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    transform: rotate(90deg);
}

/* Form header */
.form-header {
    background: linear-gradient(135deg, #4ebaa9, #3a9f94);
    color: white;
    padding: 30px;
    text-align: center;
}

.form-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.form-header p {
    opacity: 0.9;
    font-size: 16px;
}

/* Form content */
.form-content {
    padding: 40px;
}

.section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(78, 186, 169, 0.05);
    border-radius: 15px;
    border-left: 4px solid #4ebaa9;
}

.section h3 {
    color: #2d7a6e;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-icon {
    background: #4ebaa9;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4ebaa9;
    box-shadow: 0 0 0 3px rgba(78, 186, 169, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    transform: scale(1.2);
}

.help-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.warning-text {
    font-size: 14px;
    color: #e67e22;
    margin-top: 5px;
    font-weight: 500;
}

.calculate-btn {
    background: linear-gradient(135deg, #4ebaa9, #3a9f94);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 30px;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(78, 186, 169, 0.3);
}

.results {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    border: 2px solid #4ebaa9;
    display: none;
}

.results h3 {
    color: #2d7a6e;
    margin-bottom: 20px;
    text-align: center;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-label {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.result-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    min-width: 120px;
}

.eligible {
    background: #d4edda;
    color: #155724;
}

.not-eligible {
    background: #f8d7da;
    color: #721c24;
}

.partial {
    background: #fff3cd;
    color: #856404;
}

.result-details {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.result-amount {
    font-weight: 700;
    color: #27ae60;
    font-size: 16px;
}

.disclaimer {
    margin-top: 25px;
    padding: 20px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    font-size: 14px;
    line-height: 1.5;
}

.disclaimer strong {
    color: #e67e22;
}

/* Footer placeholder */
.footer-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    font-style: italic;
}

/* Territory specific styling */
.territory-info {
    background: rgba(52, 152, 219, 0.1);
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }
    
    .form-content {
        padding: 20px;
    }
    
    .form-header h1 {
        font-size: 24px;
    }
    
    .form-container {
        max-width: 100%;
        margin: 0 10px;
    }
}
