/* Hermes Medical CRM - Egyéni stílusok */

body {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}

/* Navigáció */
.navbar-brand {
    font-weight: 700;
    font-size: 18px;
}

/* Kártyák */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    padding: 12px 16px;
}

/* Dashboard statisztika kártyák */
.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-card .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #1a5276;
}

.stat-card .stat-label {
    color: #666;
    font-size: 13px;
    margin-top: 4px;
}

/* Prioritás jelzők */
.priority-high {
    color: #dc3545;
    font-weight: 600;
}

.priority-normal {
    color: #0d6efd;
}

.priority-low {
    color: #6c757d;
}

/* Státusz badge-ek */
.badge-draft { background-color: #6c757d; }
.badge-approved { background-color: #17a2b8; }
.badge-sent { background-color: #0d6efd; }
.badge-ordered { background-color: #198754; }
.badge-expired { background-color: #dc3545; }

/* Hívás eredmény jelzők */
.outcome-successful { color: #198754; }
.outcome-callback { color: #ffc107; }
.outcome-unreachable { color: #dc3545; }
.outcome-not_interested { color: #6c757d; }

/* Táblázatok */
.table th {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    vertical-align: middle;
}

/* Bejelentkezési oldal */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #0d2137 0%, #1a3a5c 50%, #0d2137 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(77, 184, 164, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(77, 184, 164, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.login-container {
    text-align: center;
    width: 420px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-logo {
    margin-bottom: 16px;
}

.login-logo img {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(77, 184, 164, 0.3));
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.login-card {
    padding: 36px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    text-align: left;
}

.login-card .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
}

.login-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

.login-input:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: #4db8a4 !important;
    box-shadow: 0 0 0 3px rgba(77, 184, 164, 0.25) !important;
    color: #ffffff !important;
}

.login-card .form-check-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.login-card .form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.login-card .form-check-input:checked {
    background-color: #4db8a4;
    border-color: #4db8a4;
}

.login-card .help-block {
    color: #ff6b6b;
    font-size: 12px;
}

.btn-login {
    background: linear-gradient(135deg, #4db8a4 0%, #3a9d8f 100%);
    border: none;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    background: linear-gradient(135deg, #5cc4b0 0%, #4db8a4 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(77, 184, 164, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

.login-footer {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    margin-top: 24px;
}

/* Ügyfélkarton */
.customer-header {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: white;
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.customer-header h2 {
    margin: 0;
    font-size: 22px;
}

.customer-header .customer-meta {
    opacity: 0.8;
    font-size: 13px;
    margin-top: 4px;
}

/* Idővonal (hívás napló) */
.timeline-item {
    border-left: 3px solid #dee2e6;
    padding: 12px 0 12px 20px;
    margin-left: 12px;
    position: relative;
}

.timeline-item::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #1a5276;
    border-radius: 50%;
    position: absolute;
    left: -8px;
    top: 16px;
}

.timeline-item.outcome-successful::before { background: #198754; }
.timeline-item.outcome-callback::before { background: #ffc107; }
.timeline-item.outcome-unreachable::before { background: #dc3545; }

/* Rögzített fejléc + szűrők */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: #f5f7fa;
    padding-top: 12px;
    padding-bottom: 4px;
    margin-top: -12px;
}

/* Keresés és szűrők */
.filter-bar {
    background: white;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Gombok */
.btn-hermes {
    background-color: #1a5276;
    border-color: #1a5276;
    color: white;
}

.btn-hermes:hover {
    background-color: #154360;
    border-color: #154360;
    color: white;
}

/* Reszponzív */
@media (max-width: 768px) {
    .stat-card .stat-number {
        font-size: 24px;
    }
}
