/* Approve and Price Modal Styles */

/* Success Icon (Green) */
.confirm-modal__icon--success {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

/* Info Icon (Blue) */
.confirm-modal__icon--info {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

/* Form Styles */
.confirm-modal__form {
    margin-top: 1rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-label .text-danger {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--color-border-primary);
    border-radius: 12px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    background-color: rgba(30, 41, 59, 0.8);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-text {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-secondary);
}

/* Date Input Wrapper */
.date-input-wrapper {
    position: relative;
}

.date-input-wrapper .date-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    font-size: 1rem;
}

[dir="rtl"] .date-input-wrapper .date-icon {
    right: auto;
    left: 1rem;
}

/* Input Group (for currency) */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    background-color: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--color-border-primary);
    border-right: none;
    border-radius: 12px 0 0 12px;
}

.input-group .form-control {
    border-radius: 0 12px 12px 0;
    border-left: none;
}

.input-group .form-control:focus {
    border-left: 1px solid var(--primary);
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
}

/* Success Button */
.confirm-modal__btn--success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.5);
}

.confirm-modal__btn--success:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: #10b981;
}

/* Primary Button (for price modal) */
.confirm-modal__btn--primary {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
    border-color: rgba(14, 165, 233, 0.5);
}

.confirm-modal__btn--primary:hover {
    background: rgba(14, 165, 233, 0.25);
    border-color: #0ea5e9;
}

/* Icon button variants for pending players */
.pending-line-icon-btn--info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.pending-line-icon-btn--info:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Success icon inner wrapper */
.success-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* RTL Support */
[dir="rtl"] .input-group-text {
    border-right: 1px solid var(--color-border-primary);
    border-left: none;
    border-radius: 0 12px 12px 0;
}

[dir="rtl"] .input-group .form-control {
    border-radius: 12px 0 0 12px;
    border-right: none;
    border-left: 1px solid var(--color-border-primary);
}

[dir="rtl"] .input-group .form-control:focus {
    border-right: 1px solid var(--primary);
    border-left: none;
}

/* Responsive */
@media (max-width: 576px) {
    .confirm-modal__dialog {
        width: min(380px, 95%);
        padding: 1.5rem;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
