.img-full-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    z-index: 0;
}

.img-full-contain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
    z-index: 0;
}

.profile-page {
    padding-top: 118px;
    padding-bottom: 90px;
}

.profile-shell {
    max-width: 1240px;
    margin: 0 auto;
}

.profile-hero {
    margin-bottom: 28px;
}

.profile-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(67, 97, 238, 0.12);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.profile-headline {
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.profile-copy {
    max-width: 720px;
    color: var(--gray);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.profile-column {
    display: flex;
}

.profile-card,
.profile-panel,
.profile-note {
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    box-shadow: 0 26px 60px rgba(18, 38, 63, 0.12);
    backdrop-filter: blur(18px);
    position: relative;
    overflow: hidden;
}

.profile-card::before,
.profile-panel::before,
.profile-note::before {
    content: "";
    position: absolute;
    inset: auto -70px -70px auto;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(76, 201, 240, 0.18) 0%,
        rgba(76, 201, 240, 0) 70%
    );
    pointer-events: none;
}

.profile-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.profile-avatar-wrap {
    display: flex;
    justify-content: center;
}

.profile-avatar {
    width: 128px;
    height: 128px;
    border-radius: 32px;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(67, 97, 238, 0.24);
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    text-align: center;
}

.profile-name h2 {
    margin: 0 0 6px;
    font-size: 28px;
    color: var(--dark);
}

.profile-handle {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 12px;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(67, 97, 238, 0.12);
    background: #f7f9ff;
    color: #35528d;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-stat {
    background: rgba(247, 249, 255, 0.92);
    border: 1px solid #e8edfb;
    border-radius: 20px;
    padding: 18px;
}

.profile-stat-label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 8px;
}

.profile-stat-value {
    color: var(--dark);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.profile-stat-copy {
    margin-top: 6px;
    font-size: 13px;
    color: var(--gray);
}

.profile-overview {
    padding: 18px 20px;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        rgba(67, 97, 238, 0.08) 0%,
        rgba(76, 201, 240, 0.08) 100%
    );
    border: 1px solid rgba(67, 97, 238, 0.12);
}

.profile-overview h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.profile-overview p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

.profile-panel {
    padding: 34px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.panel-title {
    margin: 0;
    font-size: 30px;
    color: var(--dark);
    font-weight: 700;
}

.panel-copy {
    margin: 8px 0 0;
    color: var(--gray);
    max-width: 520px;
    line-height: 1.7;
}

.panel-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(67, 97, 238, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(67, 97, 238, 0.12);
}

.profile-form .row {
    --bs-gutter-y: 1.1rem;
}

.profile-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #23304d;
}

.profile-field {
    position: relative;
}

.profile-control,
.profile-textarea,
.profile-file {
    width: 100%;
    border: 1px solid #dbe3f4;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    padding: 16px 18px;
    font-size: 15px;
    color: var(--dark);
    transition: var(--transition);
    box-shadow: none;
}

.profile-control:focus,
.profile-textarea:focus,
.profile-file:focus {
    outline: none;
    border-color: rgba(67, 97, 238, 0.42);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
}

.profile-control[readonly] {
    background: #f7f9ff;
    color: #64748b;
}

.profile-textarea {
    min-height: 170px;
    resize: vertical;
}

.profile-help {
    margin-top: 8px;
    color: var(--gray);
    font-size: 13px;
}

.profile-file-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}

.profile-file-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f7f9ff;
    border: 1px solid #e7ecf7;
    color: #35528d;
    font-size: 14px;
    font-weight: 600;
}

.profile-file-meta i {
    color: var(--primary);
}

.profile-file-actions {
    margin-top: 12px;
}

.profile-delete-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(220, 53, 69, 0.18);
    background: rgba(220, 53, 69, 0.08);
    color: #c0392b;
    font-weight: 700;
}

.profile-delete-btn:hover,
.profile-delete-btn:focus {
    background: rgba(220, 53, 69, 0.12);
    color: #a93226;
}

.profile-submit {
    min-height: 56px;
    border-radius: 18px;
    padding: 0 24px;
    font-size: 16px;
    box-shadow: 0 18px 34px rgba(67, 97, 238, 0.2);
}

.profile-submit.is-submitting {
    opacity: 0.9;
    pointer-events: none;
}

.profile-note {
    margin-top: 24px;
    padding: 24px 28px;
}

.profile-note-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.profile-note-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-note-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray);
    line-height: 1.7;
}

.profile-note-list i {
    color: var(--primary);
    margin-top: 3px;
}

.profile-char-count {
    margin-top: 8px;
    text-align: right;
    color: var(--gray);
    font-size: 12px;
    font-weight: 600;
}

.login-page {
    padding-top: 120px;
    padding-bottom: 90px;
    min-height: calc(100vh - 180px);
}

.login-shell {
    align-items: stretch;
    justify-content: space-between;
    /* gap: 0px; */
    max-width: 1255px;
    margin: 0 auto;
}

.login-shell > [class*="col-"] {
    display: flex;
}

.login-intro {
    position: relative;
    padding-right: 0;
    width: 100%;
    display: flex;
}

.login-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.login-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(67, 97, 238, 0.12);
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow);
    margin-bottom: 22px;
    width: 100%;
}

.login-kicker i {
    font-size: 13px;
}

.login-subtitle {
    max-width: 620px;
    margin-bottom: 30px;
}

.login-story-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 24px 50px rgba(67, 97, 238, 0.12);
    backdrop-filter: blur(14px);
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-story-card::before {
    content: "";
    position: absolute;
    inset: auto -60px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(76, 201, 240, 0.22) 0%,
        rgba(76, 201, 240, 0) 70%
    );
}

.story-badge-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f7f9ff;
    color: #3a4a7d;
    border: 1px solid #e4eaff;
    font-size: 13px;
    font-weight: 600;
}

.story-preview {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        rgba(67, 97, 238, 0.08) 0%,
        rgba(72, 149, 239, 0.08) 100%
    );
    border: 1px solid rgba(67, 97, 238, 0.12);
    margin-bottom: 20px;
}

.story-avatar {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    color: white;
    font-size: 30px;
    font-weight: 700;
    box-shadow: 0 18px 30px rgba(67, 97, 238, 0.25);
}

.story-label {
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 6px;
}

.story-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.story-text {
    font-size: 15px;
    color: var(--gray);
    margin: 0;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.story-metric {
    background: white;
    border: 1px solid #edf1ff;
    border-radius: 18px;
    padding: 16px;
    min-height: 118px;
    transition: var(--transition);
}

.story-metric:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 24px rgba(67, 97, 238, 0.08);
}

.story-metric i {
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 12px;
}

.story-metric h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.story-metric p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

.login-card-wrap {
    position: relative;
    width: 100%;
    display: flex;
}

.login-card-wrap::before,
.login-card-wrap::after {
    content: "";
    position: absolute;
    border-radius: 28px;
    z-index: 0;
}

.login-card-wrap::before {
    inset: 18px -16px -18px 36px;
    background: linear-gradient(
        135deg,
        rgba(67, 97, 238, 0.1) 0%,
        rgba(76, 201, 240, 0.06) 100%
    );
}

.login-card-wrap::after {
    inset: -16px 40px 32px -12px;
    background: rgba(255, 255, 255, 0.45);
    filter: blur(24px);
}

.login-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 30px 60px rgba(18, 38, 63, 0.12);
    backdrop-filter: blur(18px);
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(76, 201, 240, 0.18) 0%,
        rgba(76, 201, 240, 0) 70%
    );
}

.login-card-header {
    position: relative;
    z-index: 1;
    margin-bottom: 26px;
}

.login-card-badge {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--secondary) 100%
    );
    color: white;
    font-size: 24px;
    box-shadow: 0 12px 24px rgba(67, 97, 238, 0.25);
}

.login-card-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
    color: var(--dark);
}

.login-card-copy {
    font-size: 15px;
    color: var(--gray);
    margin: 0;
    max-width: 420px;
}

.login-form {
    position: relative;
    z-index: 1;
}

.login-field {
    margin-bottom: 18px;
}

.login-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #23304d;
}

.input-shell {
    position: relative;
}

.input-shell .form-control {
    border: 1px solid #dbe3f4;
    border-radius: 16px;
    min-height: 58px;
    padding: 16px 52px 16px 52px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: none;
    transition: var(--transition);
    font-size: 15px;
}

.input-shell .form-control:focus {
    border-color: rgba(67, 97, 238, 0.4);
    box-shadow: 0 0 0 4px rgba(67, 97, 238, 0.1);
    background: white;
}

.input-shell.is-focused .field-icon,
.input-shell.has-value .field-icon {
    color: var(--primary);
}

.field-icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #90a0c0;
    font-size: 16px;
    transition: var(--transition);
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #90a0c0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary);
    background: rgba(67, 97, 238, 0.08);
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.form-check-input {
    border-color: #c8d2e8;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.remember-row .form-check-label,
.inline-link,
.register-copy {
    font-size: 14px;
}

.inline-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.inline-link:hover {
    color: var(--secondary);
}

.login-submit {
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
    font-size: 16px;
    box-shadow: 0 16px 30px rgba(67, 97, 238, 0.22);
}

.login-submit .submit-icon {
    transition: transform 0.25s ease;
}

.login-submit:hover .submit-icon {
    transform: translateX(3px);
}

.login-submit.is-submitting {
    opacity: 0.9;
    pointer-events: none;
}

.form-error {
    display: block;
    margin-top: 8px;
    color: #d64545;
    font-size: 13px;
    font-weight: 600;
}

.login-footer-note {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e7ecf7;
    color: var(--gray);
    text-align: center;
}

.login-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8faff;
    border: 1px solid #e3e9ff;
    border-radius: 16px;
    margin-bottom: 22px;
    width: 100%;
}

.login-status-avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 100%
    );
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.login-status small {
    display: block;
    color: var(--gray);
    font-size: 12px;
    margin-bottom: 2px;
}

.login-status strong {
    color: var(--dark);
    font-size: 14px;
    word-break: break-word;
}

.hero-title {
    font-size: 24px;
}

.bg-side ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
