print / static /css /admin_components /payments.css
Dilip8756's picture
Upload 101 files
5546f2c verified
/* ═══════════════════════════════════════════════════════════════
ADMIN PAYMENTS CSS
Styles specific to the payments verification section
═══════════════════════════════════════════════════════════════ */
.payment-tabs {
display: flex;
gap: 15px;
margin-bottom: 25px;
}
.payment-tab-btn {
padding: 12px 24px;
border-radius: 12px;
border: 2px solid var(--border-color);
background: transparent;
font-family: 'Outfit', sans-serif;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
color: var(--text-muted);
display: flex;
align-items: center;
gap: 8px;
}
.payment-tab-btn.active {
border-color: var(--primary-color);
color: var(--primary-color);
background: var(--bg-color);
}
.tab-badge {
background: var(--border-color);
color: var(--text-color);
padding: 2px 8px;
border-radius: 12px;
font-size: 0.8rem;
margin-left: 5px;
}
.payment-tab-btn.active .tab-badge {
background: var(--primary-color);
color: white;
}
.payment-controls {
display: flex;
gap: 15px;
margin-bottom: 25px;
flex-wrap: wrap;
}
.search-box {
flex: 1;
min-width: 250px;
position: relative;
}
.search-box i {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
}
.search-box input {
width: 100%;
padding: 12px 15px 12px 40px;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--card-bg);
color: var(--text-color);
}
.filter-select {
padding: 12px 35px 12px 15px;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--card-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center/15px;
color: var(--text-color);
appearance: none;
min-width: 150px;
}
.rejection-modal .modal-content {
max-width: 500px;
}
.rejection-modal-body {
padding: 20px 24px;
}
.rejection-modal-body p {
color: var(--text-muted);
font-size: 0.95rem;
margin-bottom: 15px;
}
#rejection-comment {
width: 100%;
min-height: 100px;
padding: 15px;
border: 1px solid var(--border-color);
border-radius: 12px;
background: var(--bg-color);
color: var(--text-color);
font-family: inherit;
resize: vertical;
margin-bottom: 10px;
}
#rejection-comment:focus {
outline: none;
border-color: var(--error);
box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.1);
}
.rejection-error {
color: var(--error);
font-size: 0.85rem;
display: none;
}
.rejection-modal-footer {
padding: 20px 24px;
border-top: 1px solid var(--border-color);
display: flex;
justify-content: flex-end;
gap: 12px;
}
.rejection-modal-footer button {
padding: 10px 20px;
border-radius: 10px;
font-weight: 500;
cursor: pointer;
transition: var(--transition);
}
.rejection-modal-footer button:first-child {
background: transparent;
border: 1px solid var(--border-color);
color: var(--text-color);
}
.rejection-modal-footer button:last-child {
background: var(--error);
border: none;
color: white;
}
/* ─── Payment Details Modal Mechanics ─────────────────────────*/
.payment-details-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1000;
align-items: center;
justify-content: center;
backdrop-filter: blur(5px);
}
.payment-details-modal .modal-content {
background: var(--card-bg);
border-radius: 12px;
padding: 30px;
max-width: 500px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
border: 1px solid var(--border-color);
}
.payment-details-modal .modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.payment-details-modal .modal-header h3 {
margin: 0;
color: var(--text-color);
}
.payment-details-modal .modal-header button {
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 1.2rem;
}
.payment-details-modal .modal-body {
line-height: 1.6;
}
.payment-details-modal .modal-footer {
margin-top: 20px;
display: flex;
gap: 10px;
justify-content: flex-end;
}
.payment-details-modal .modal-footer button:first-child {
padding: 8px 16px;
border: 1px solid var(--border-color);
background: var(--card-bg);
color: var(--text-color);
border-radius: 6px;
cursor: pointer;
font-family: \'Outfit\', sans-serif;
}
.payment-details-modal .modal-actions {
display: flex;
gap: 10px;
}
/* ─── Rejection Modal Mechanics ──────────────────────────────*/
.rejection-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
z-index: 1001;
align-items: center;
justify-content: center;
backdrop-filter: blur(8px);
}
.rejection-modal .modal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.rejection-modal .modal-header h3 {
margin: 0;
color: var(--text-color);
display: flex;
align-items: center;
gap: 10px;
}
.rejection-modal .modal-header h3 i {
color: #ff7675;
}
.rejection-modal .modal-header button {
background: none;
border: none;
color: var(--text-muted);
cursor: pointer;
font-size: 1.2rem;
}