/* Property Flip Calculator Styles */
.pfc-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.pfc-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #3498db;
}

.pfc-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
}

.pfc-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.pfc-form {
    width: 100%;
}

.pfc-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.pfc-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pfc-col label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
    font-size: 14px;
}

.pfc-col input {
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.pfc-col input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.pfc-col input:invalid {
    border-color: #e74c3c;
}

.pfc-results {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.pfc-results h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    text-align: center;
}

.pfc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.pfc-result-item:last-child {
    border-bottom: none;
}

.pfc-label {
    font-weight: 500;
}

.pfc-value {
    font-weight: 700;
    font-size: 18px;
}

.pfc-submit-section {
    text-align: center;
    margin-top: 30px;
}

.pfc-submit-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.pfc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.pfc-submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pfc-disclaimer {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.pfc-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.pfc-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.pfc-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.pfc-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .pfc-container {
        margin: 10px;
        padding: 15px;
    }
    
    .pfc-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .pfc-header h2 {
        font-size: 24px;
    }
    
    .pfc-submit-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .pfc-container {
        margin: 5px;
        padding: 10px;
    }
    
    .pfc-header h2 {
        font-size: 20px;
    }
    
    .pfc-col input {
        padding: 10px;
        font-size: 14px;
    }
}

