/**
 * Admin Payment Methods Styles
 *
 * Styles for the payment methods display in the form editor.
 *
 * @package Wpayme\WordPress\Pay\Forms
 */

.wpayme-payment-methods-container {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
}

.wpayme-payment-methods-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.wpayme-payment-methods-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wpayme-payment-methods-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.wpayme-payment-methods-list li:last-child {
    border-bottom: none;
}

.wpayme-payment-method-name {
    flex: 1;
    font-weight: 500;
}

.wpayme-payment-method-status {
    margin-left: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.wpayme-payment-method-status.active {
    background-color: #dff0d8;
    color: #3c763d;
}

.wpayme-payment-method-status.inactive {
    background-color: #f2dede;
    color: #a94442;
}

.wpayme-payment-method-recurring {
    margin-left: 10px;
    padding: 3px 8px;
    background-color: #d9edf7;
    color: #31708f;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

/* Gateway selection styling */
.wpayme-gateway-selection {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpayme-gateway-selection select {
    flex: 1;
}

/* Modal Styles */
#wpayme-payment-methods-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.wpayme-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border: 1px solid #888;
    width: 600px;
    max-width: 90%;
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.wpayme-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.wpayme-modal-header h2 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.4;
}

.wpayme-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.wpayme-modal-close:hover,
.wpayme-modal-close:focus {
    color: #000;
    text-decoration: none;
}

.wpayme-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

/* Info button styling */
#wpayme-payment-methods-info {
    margin-left: 10px;
    vertical-align: middle;
    line-height: 1;
    height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#wpayme-payment-methods-info .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin: 0;
} 