/* style.css - Modern Responsive Doctor Appointment Form */

.dap-form-wrapper {
    max-width: 650px;
    margin: 40px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.dap-form-wrapper h2 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 600;
}

.dap-form-wrapper label {
    display: block;
    margin: 18px 0 8px;
    font-weight: 600;
    color: #1e3a8a;
    font-size: 15px;
}

.dap-form-wrapper input,
.dap-form-wrapper select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.dap-form-wrapper input:focus,
.dap-form-wrapper select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.dap-form-wrapper button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.dap-form-wrapper button:hover {
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    transform: translateY(-2px);
}

.dap-form-wrapper button:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* Success & Info Messages */
.dap-success, .dap-info {
    padding: 18px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.6;
}

.dap-success {
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.dap-info {
    background: #f0f9ff;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

/* QR Code Styling */
#payment-section img {
    max-width: 280px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    margin: 15px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dap-form-wrapper {
        margin: 20px 15px;
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .dap-form-wrapper h2 {
        font-size: 24px;
    }
    
    .dap-form-wrapper input,
    .dap-form-wrapper select,
    .dap-form-wrapper button {
        padding: 13px 14px;
        font-size: 15px;
    }
}

/* WhatsApp Button */
.dap-wa-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

.dap-wa-btn:hover {
    background: #128C7E;
}

.dap-form-wrapper textarea {
    resize: vertical;
    min-height: 80px;
}

.dap-form-wrapper input[type="number"] {
    -moz-appearance: textfield;
}

.dap-form-wrapper input[type="number"]::-webkit-inner-spin-button,
.dap-form-wrapper input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}