/* KAGC M-Pesa Checkout - Frontend Styles */
.kagc-payment-box {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    max-width: 420px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.kagc-payment-header h3 {
    font-size: 1.6rem;
    color: #2d3436;
    margin: 0 0 5px 0;
}

.kagc-payment-header p {
    color: #636e72;
    margin: 0 0 25px 0;
    font-size: 0.9rem;
}

.kagc-field {
    margin-bottom: 20px;
}

.kagc-field label {
    display: block;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.kagc-field input,
.kagc-field select {
    width: 100%;
    padding: 13px 15px;
    border: 2px solid #f1f3f5;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.kagc-field input:focus,
.kagc-field select:focus {
    border-color: #00b894;
    outline: none;
}

.kagc-action-btn {
    width: 100%;
    padding: 16px;
    background: #2d3436;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.kagc-action-btn:hover {
    background: #000;
    transform: translateY(-2px);
}

/* Status Hub */
.kagc-status-hub {
    text-align: center;
    padding: 30px 0;
}

.kagc-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #f1f3f5;
    border-top: 5px solid #00b894;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: kagc-spin 1s linear infinite;
}

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

.kagc-text-msg {
    color: #636e72;
    font-weight: 500;
    margin-bottom: 15px;
}

.kagc-icon-slot {
    font-size: 4rem;
    margin-bottom: 15px;
}

.kagc-icon-slot.success-ui { color: #00b894; }
.kagc-icon-slot.error-ui   { color: #e03131; }

.kagc-reset-btn {
    margin-top: 15px;
    background: #f1f3f5;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

/* WooCommerce Overlay */
.kagc-full-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.kagc-modal-body {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 380px;
    width: 90%;
}
