/* ==========================
   Tippspiel Login Box Styles (scoped)
   ========================== */

.ts-login-box .card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,0,0,0.05);
}

.ts-login-box .card.card-default {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.ts-login-box .card.card-default .card-body {
    padding: 20px;
}

/* Nur eingeloggter Zustand */
.ts-login-box .ts-login-authenticated .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ==========================
   Inputs
   ========================== */

.ts-login-box .input-group-text {
    background: rgba(0,0,0,0.03);
    border: 1px solid #dee2e6;
    border-radius: 8px 0 0 8px;
}

.ts-login-box .form-control {
    background: rgba(255,255,255,0.9);
    border-radius: 0 8px 8px 0;
}

.ts-login-box .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.25);
    background: #fff;
}

.ts-login-box input::placeholder {
    color: rgba(0,0,0,0.5);
}

.ts-login-box .ts-password-toggle {
    cursor: pointer;
    background: rgba(0,0,0,0.03);
}

.ts-login-box .ts-password-toggle:hover {
    background: rgba(0,0,0,0.08);
}

/* ==========================
   Buttons
   ========================== */

.ts-login-box .btn {
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

/* Primary */
.ts-login-box .btn-primary {
    background: linear-gradient(135deg, #0d6efd, #3ea6ff);
    border: none;
    font-weight: 500;
}

.ts-login-box .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(13,110,253,0.3);
}

/* Secondary */
.ts-login-box .btn-outline-primary {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border: none;
}

.ts-login-box .btn-outline-primary:hover {
    background: rgba(13, 110, 253, 0.2);
}

/* Danger */
.ts-login-box .btn-outline-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: none;
}

.ts-login-box .btn-outline-danger:hover {
    background: rgba(220, 53, 69, 0.2);
}

/* ==========================
   Layout & Spacing
   ========================== */

.ts-login-box .d-grid {
    gap: 8px;
}

.ts-login-box .text-center {
    margin-top: 5px;
}

.ts-login-box .text-center a {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.9rem;
}

.ts-login-box .text-center a:first-child {
    margin-top: 10px;
}

/* ==========================
   Checkbox
   ========================== */

.ts-login-box .form-check {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: -5px;
}

.ts-login-box .form-check-input {
    cursor: pointer;
    pointer-events: auto;
}

.ts-login-box .form-check-label {
    cursor: pointer;
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ==========================
   User Bereich
   ========================== */

.ts-login-box .fa-user-circle {
    color: #0d6efd;
    font-size: 42px;
}

.ts-login-box .ts-login-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.ts-login-box .ts-login-avatar:hover {
    transform: scale(1.05);
    transition: 0.2s;
}

/* Eigene muted Variante (statt !important) */
.ts-login-box .ts-muted {
    color: rgba(0,0,0,0.6);
}

/* ==========================
   Links
   ========================== */

.ts-login-box a {
    text-decoration: none;
}

.ts-login-box a:hover {
    text-decoration: underline;
}

/* ==========================
   Social Buttons
   ========================== */

.ts-login-box .providers {
    border-radius: 6px;
}

.ts-login-box .providers:hover {
    background: #f1f3f5;
}

/* ==========================
   Card Hover
   ========================== */

/*.ts-login-box .card:hover {
    transform: translateY(-1px);
}*/

/* ==========================
   Mobile
   ========================== */

@media (max-width: 576px) {
    .ts-login-box .card.card-default .card-body {
        padding: 15px;
    }
}