html, body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.candidate-map-marker {
    background: linear-gradient(135deg, #5b3df5, #4a7cff);
    color: #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 2px solid #fff;
}

.masked-text {
    filter: blur(3.5px);
    text-shadow: 0 0 8px rgba(91, 61, 245, 0.6);
    user-select: none;
    display: inline-block;
}

.candidate-map-pin {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ff5a5f;
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px rgba(255, 90, 95, 0.25), 0 2px 6px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* --- Pagini Login / Register (card comun, tema aplicată din AccountLayout) --- */

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(20, 20, 60, 0.25), 0 4px 12px rgba(20, 20, 60, 0.08);
    animation: login-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    box-sizing: border-box;
}

@keyframes login-pop {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #4a4ae0;
    margin-bottom: 20px;
}

.login-brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b3df5, #35c4ff);
    display: inline-block;
}

.login-title {
    margin: 0 0 4px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
}

.login-subtitle {
    margin: 0 0 24px;
    color: #6b6b85;
    font-size: 0.92rem;
}

.login-alert {
    background: #fdecec;
    color: #c0392b;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    margin-bottom: 18px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: #35354a;
    font-weight: 600;
}

.login-field input {
    font: inherit;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid #e2e2ee;
    background: #fafafe;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.login-field input:focus {
    outline: none;
    border-color: #5b7cff;
    box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.15);
    background: #fff;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    transition: transform 0.1s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.login-btn:active {
    transform: scale(0.98);
}

.login-btn-primary {
    background: linear-gradient(135deg, #5b3df5, #4a7cff);
    color: #fff;
    box-shadow: 0 8px 20px rgba(91, 61, 245, 0.3);
    margin-top: 4px;
}

.login-btn-primary:hover {
    box-shadow: 0 10px 24px rgba(91, 61, 245, 0.4);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: #a3a3b8;
    font-size: 0.8rem;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6e6f0;
}

.login-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-btn-social {
    background: #fff;
    color: #35354a;
    border: 1.5px solid #e2e2ee;
}

.login-btn-social:hover {
    background: #fafafe;
    border-color: #d0d0e0;
}

.login-btn-apple {
    background: #000;
    color: #fff;
    border: none;
}

.login-btn-apple:hover {
    background: #1a1a1a;
}

.login-footer {
    text-align: center;
    margin: 24px 0 0;
    font-size: 0.88rem;
    color: #6b6b85;
}

.login-footer a {
    color: #4a4ae0;
    font-weight: 600;
    text-decoration: none;
}

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

/* --- Selector de rol (Register) --- */

.role-toggle {
    display: flex;
    gap: 10px;
}

.role-option {
    flex: 1;
    cursor: pointer;
}

.role-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 8px;
    border-radius: 12px;
    border: 1.5px solid #e2e2ee;
    background: #fafafe;
    font-size: 0.85rem;
    font-weight: 600;
    color: #35354a;
    transition: all 0.15s ease;
}

.role-card small {
    font-weight: 400;
    color: #8a8aa0;
    font-size: 0.72rem;
}

.role-icon {
    font-size: 1.4rem;
}

.role-option input:checked + .role-card {
    border-color: #5b7cff;
    background: #f0f3ff;
    box-shadow: 0 0 0 3px rgba(91, 124, 255, 0.15);
}

/* --- Banner de cookie-uri --- */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: #1a1a2e;
    color: #e6e6f0;
    padding: 16px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.85rem;
    max-width: 800px;
    line-height: 1.5;
}

.cookie-banner a {
    color: #9cb8ff;
    font-weight: 600;
}

.cookie-banner button {
    flex-shrink: 0;
    background: linear-gradient(135deg, #5b3df5, #4a7cff);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.consent-field {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: #6b6b85;
    line-height: 1.4;
    cursor: pointer;
}

.consent-field input {
    margin-top: 2px;
    flex-shrink: 0;
}

.consent-field a {
    color: #4a4ae0;
    font-weight: 600;
    text-decoration: none;
}

.consent-field a:hover {
    text-decoration: underline;
}

