/* ================================================================
   style.css — Stiluri custom Zein Dent Portal
   ================================================================ */

/* --- Fonturi & bază --- */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f4f6f9;
}

/* --- Login card --- */
.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
}

.clinic-logo-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

/* --- Header portal public --- */
.pay-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.header-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

/* --- Statistici admin --- */
.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

/* --- Card-uri --- */
.card {
    border-radius: 12px;
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
}

/* --- Success / Cancel icons --- */
.success-icon-circle,
.cancel-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.success-icon-circle {
    background: linear-gradient(135deg, #198754, #157347);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cancel-icon-circle {
    background: linear-gradient(135deg, #6c757d, #495057);
}

@keyframes popIn {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Receipt box pe success.php --- */
.receipt-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e9ecef;
}

/* --- Form controls --- */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-control[readonly] {
    background-color: #f8f9fa;
    cursor: default;
}

/* --- Butoane --- */
.btn {
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    border: none;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.7;
    transform: none;
}

/* --- Input group --- */
.input-group-text {
    background-color: #f8f9fa;
    color: #6c757d;
}

/* --- Navbar --- */
.navbar.bg-primary {
    background: linear-gradient(135deg, #0d6efd, #0a58ca) !important;
}

/* --- Table --- */
.table > tbody > tr:hover {
    background-color: rgba(13, 110, 253, 0.04);
}

/* --- Badge status --- */
.badge.rounded-pill {
    font-size: 0.72rem;
    padding: 0.35em 0.7em;
}

/* --- Alert info (success page) --- */
.alert-info {
    background-color: #e7f1ff;
    border-color: #b6d0ff;
    color: #0a4a9e;
}

/* --- Responsive --- */
@media (max-width: 576px) {
    .stat-number {
        font-size: 1.4rem;
    }

    .card-body.p-5 {
        padding: 2rem !important;
    }

    .pay-header h5 {
        font-size: 1rem;
    }
}

/* --- Font monospace pentru linkuri --- */
.font-monospace {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.88rem;
}
