/* NewValue Lead Capture Form Styles */
.newvalue-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
}

.newvalue-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.newvalue-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.newvalue-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.newvalue-header p {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

.newvalue-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

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

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    flex: 1;
    position: relative;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 45px 15px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-icon {
    position: absolute;
    right: 15px;
    top: 43px;
    font-size: 18px;
    pointer-events: none;
    opacity: 0.7;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.newvalue-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.newvalue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.newvalue-btn:active {
    transform: translateY(0);
}

.newvalue-btn.loading {
    pointer-events: none;
}

.newvalue-btn.loading .btn-text {
    opacity: 0;
}

.newvalue-btn .btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
}

.newvalue-btn.loading .btn-loader {
    opacity: 1;
}

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

.newvalue-results {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.results-header {
    text-align: center;
    margin-bottom: 25px;
}

.results-header h3 {
    color: #333;
    font-size: 24px;
    margin: 0 0 10px 0;
}

.results-header p {
    color: #666;
    margin: 0;
}

.offers-list {
    margin: 25px 0;
}

.offer-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.offer-card h4 {
    color: #333;
    font-size: 18px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.offer-card p {
    color: #666;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.offer-discount {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
}

.results-footer {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.results-footer p {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
}

.newvalue-btn-payment {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.newvalue-btn-payment:hover {
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.4);
}

.disclaimer {
    font-size: 12px !important;
    color: #999 !important;
    margin-top: 15px !important;
}

.newvalue-message {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .newvalue-form-container {
        margin: 10px;
        padding: 20px;
    }
    
    .newvalue-form {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .newvalue-header h2 {
        font-size: 24px;
    }
    
    .newvalue-header p {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 40px 12px 12px;
        font-size: 16px;
    }
    
    .form-icon {
        top: 40px;
        right: 12px;
        font-size: 16px;
    }
    
    .newvalue-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .newvalue-form-container {
        margin: 5px;
        padding: 15px;
    }
    
    .newvalue-form {
        padding: 15px;
    }
    
    .newvalue-header h2 {
        font-size: 20px;
    }
    
    .results-header h3 {
        font-size: 20px;
    }
} 