/* Acquired Payment Plugin Styles */

.acquired-payment-wrapper {
    margin: 20px 0;
    padding: 0;
}

#acquired-payment-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e1e1;
}

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

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

.acquired-flex{
    display: flex;
    gap:30px;
}
.acquired-flex .acquired-col{
    flex-grow: 1;
}

.acquired-form-group input[type="text"],
.acquired-form-group input[type="email"],
.acquired-form-group input[type="tel"], 
.acquired-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.acquired-form-group input[type="text"]:focus,
.acquired-form-group input[type="email"]:focus,
.acquired-form-group input[type="tel"]:focus 
.acquired-form-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.acquired-payment-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    border-left: 4px solid #007cba;
}

.acquired-payment-summary h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.acquired-payment-summary p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.acquired-pay-button {
    width: 100%;
    background: #ee2f78 !important;
    color: white !important;
    padding: 15px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.acquired-pay-button:hover:not(:disabled) {
    background: #ee2f78;
}

.acquired-pay-button:disabled {
    background: #ccc !important;
    color: #ee2f78 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.acquired-loading {
    text-align: center;
    padding: 20px 0;
    color: #666;
}

.acquired-loading p {
    margin: 0;
    font-style: italic;
}

/* Error messages */
.acquired-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin: 10px 0;
}

.acquired-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin: 10px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .acquired-payment-wrapper {
        max-width: 100%;
    }
    
    #acquired-payment-form {
        padding: 20px;
    }
    
    .acquired-form-group input[type="text"],
    .acquired-form-group input[type="email"],
    .acquired-form-group input[type="tel"] {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Admin page styles */
.wrap .acquired-shortcode-example {
    background: #f1f1f1;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 14px;
}

.wrap .acquired-shortcode-example code {
    background: none;
    padding: 0;
}

/* Loading animation */
.acquired-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #007cba;
    border-radius: 50%;
    border-top-color: transparent;
    animation: acquired-spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

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

/* Security notice */
.acquired-security-notice {
    background: #fff3cd;
    color: #856404;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ffeaa7;
    margin: 15px 0;
    font-size: 13px;
}

.acquired-security-notice::before {
    content: "🔒 ";
    margin-right: 5px;
}