:root {
    --primary: #135bec;
    --background-light: #f6f6f8;
    --primary-dark: #0f7bc2;
    --bg-light: #f6f7f8;
    --bg-dark: #101a22;
    --border-light: #dbdfe6;
    --white: #ffffff;
}

body {
    font-family: 'Public Sans', sans-serif;
    background: var(--bg-light);
    color: #111518;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Header */
.custom-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

/* Background effect */
.abstract-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.abstract-bg .blob-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(19, 142, 236, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.abstract-bg .blob-2 {
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(19, 142, 236, 0.10);
    border-radius: 50%;
    filter: blur(80px);
}

/* Card */
.success-card {
    max-width: 520px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Icon */
.icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-icon {
    background: #ecfdf5;
    border: 4px solid #d1fae5;
}

.danger-icon {
    background: #faecec;
    border: 4px solid #fad1d1;
}

/* Button */
.btn-primary-custom {
    background: var(--primary);
    color: white;
    font-weight: 700;
    height: 48px;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
}

/* HERO ICON */
.hero-icon {
    width: 80px;
    height: 80px;
    background: #eaf1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary);
    font-size: 40px;
}

/* INFO BOX */
.info-box {
    display: flex;
    gap: 10px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
}

/* CARD */
.auth-container {
    max-width: 520px;
    width: 100%;
}

.hermes-card {
    border-radius: 12px;
    border: 1px solid #f0f2f4;
    overflow: hidden;
}

.top-bar {
    height: 6px;
    background: linear-gradient(to right, var(--primary), #3b82f6);
}

/* LINK */
.back-link {
    text-decoration: none;
    font-weight: 500;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-link:hover {
    color: var(--primary);
}

/* FOOTER CARD */
.card-footer {
    background: #fcfcfd;
    border-top: 1px solid #f0f2f4;
}

/* ICON HEADER */
.icon-wrapper {
    background: #eef4ff;
    color: var(--primary);
    padding: 10px;
    border-radius: 10px;
    display: inline-flex;
}

.icon-wrapper span {
    font-size: 28px;
}

/* INPUT ICON */
.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(19, 91, 236, 0.15);
}

/* Toggle Password */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

/* Checklist */
.password-checklist {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
}

.logout-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fdecea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 24px;
}

.logout-card {
    border-radius: 18px;
}

.btn-link-custom {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.btn-link-custom:hover {
    text-decoration: underline;
}

.acesso-info {
    background: #eef4ff;
    border: 1px solid rgba(13, 110, 253, .15);
    border-radius: 8px;
    padding: 12px;
    margin-top: 15px;
    font-style: italic;
    font-size: 14px;
}