/* Service Payment - Clean Checkout Design */

.dpp-service-payment-form {
    max-width: 650px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.dpp-service-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.dpp-service-icon-large {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.dpp-service-icon-large .dashicons {
    width: 48px;
    height: 48px;
    font-size: 48px;
}

.dpp-service-header h2 {
    margin: 0 0 10px;
    color: white;
    font-size: 26px;
    font-weight: 600;
}

.dpp-service-price-large {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 15px 0 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dpp-service-duration {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 5px 0;
}

.dpp-service-short-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    margin: 8px 0;
}

.dpp-service-description {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-top: 15px;
    font-size: 14px;
}

.dpp-form-section {
    padding: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.dpp-form-section:last-child {
    border-bottom: none;
}

.dpp-form-section h3 {
    margin: 0 0 20px;
    color: #1d2327;
    font-size: 18px;
    font-weight: 600;
}

.dpp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.dpp-form-field {
    margin-bottom: 15px;
}

.dpp-form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #2c3338;
    font-size: 14px;
}

.dpp-form-field input[type="text"],
.dpp-form-field input[type="email"],
.dpp-form-field input[type="tel"],
.dpp-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.2s;
    font-family: inherit;
}

.dpp-form-field input:focus,
.dpp-form-field textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.dpp-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.dpp-gateway-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dpp-gateway-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.dpp-gateway-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-1px);
}

.dpp-gateway-option input[type="radio"] {
    margin-right: 14px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
}

.dpp-gateway-label {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
    color: #1d2327;
    font-weight: 500;
}

.dpp-gateway-desc {
    display: block;
    color: #666;
    font-size: 13px;
    margin-top: 4px;
    font-weight: normal;
}

.dpp-payment-summary {
    background: white;
    border: 2px solid #667eea;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(102,126,234,0.15);
}

.dpp-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    color: #2c3338;
    border-bottom: 1px solid #f0f0f0;
}

.dpp-summary-row:last-child {
    border-bottom: none;
}

.dpp-summary-total {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 2px solid #667eea;
    background: #f8f9ff;
}

.dpp-payment-notice {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dpp-form-actions {
    text-align: center;
    padding: 30px;
    background: #fafafa;
}

.dpp-submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}

.dpp-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.5);
}

.dpp-submit-button:active {
    transform: translateY(0);
}

.dpp-submit-button .dashicons {
    transition: transform 0.3s;
}

.dpp-submit-button:hover .dashicons {
    transform: translateX(5px);
}

/* Services Grid */

.dpp-services-grid {
    display: grid;
    gap: 25px;
    margin: 30px 0;
}

.dpp-services-grid[data-columns="1"] {
    grid-template-columns: 1fr;
}

.dpp-services-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.dpp-services-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.dpp-services-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.dpp-service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.dpp-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.dpp-service-icon {
    font-size: 42px;
    color: #667eea;
    margin-bottom: 20px;
}

.dpp-service-icon .dashicons {
    width: 42px;
    height: 42px;
    font-size: 42px;
}

.dpp-service-title {
    margin: 0 0 10px;
    font-size: 20px;
    color: #1d2327;
    font-weight: 600;
}

.dpp-service-card .dpp-service-short-desc {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

.dpp-service-price {
    font-size: 26px;
    font-weight: 700;
    color: #667eea;
    margin: 15px 0;
}

.dpp-service-card .dpp-service-description {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin: 15px 0;
}

.dpp-service-card .dpp-service-duration {
    font-size: 13px;
    color: #666;
    margin: 10px 0;
}

.dpp-service-actions {
    margin-top: 20px;
}

.dpp-service-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.dpp-service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
    color: #fff;
}

/* Responsive */

@media (max-width: 768px) {
    .dpp-form-row {
        grid-template-columns: 1fr;
    }

    .dpp-services-grid[data-columns="2"],
    .dpp-services-grid[data-columns="3"],
    .dpp-services-grid[data-columns="4"] {
        grid-template-columns: 1fr;
    }

    .dpp-service-payment-form {
        border-radius: 0;
    }

    .dpp-service-header {
        padding: 30px 20px 20px;
    }

    .dpp-service-header h2 {
        font-size: 22px;
    }

    .dpp-service-price-large {
        font-size: 34px;
    }

    .dpp-form-section {
        padding: 20px;
    }

    .dpp-submit-button {
        width: 100%;
        padding: 14px;
    }
}
