/* =========================================================
PROFILE PAGE
========================================================= */

.profile-page
{
    padding: 40px 20px;
    background: #0f172a;
    min-height: 100vh;
}


/* =========================================================
CONTAINER
========================================================= */

.profile-container
{
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}


/* =========================================================
SIDEBAR
========================================================= */

.profile-sidebar
{
    background: #111827;

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 24px;

    padding: 30px;

    position: sticky;
    top: 30px;

    height: fit-content;
}


/* =========================================================
USER
========================================================= */

.profile-user
{
    text-align: center;

    margin-bottom: 35px;
}

.profile-avatar
{
    width: 120px;
    height: 120px;

    margin: 0 auto 20px;

    border-radius: 50%;

    overflow: hidden;

    border: 4px solid #2563eb;
}

.profile-avatar img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-user h3
{
    color: #fff;

    font-size: 22px;

    margin-bottom: 8px;
}

.profile-user p
{
    color: #94a3b8;

    font-size: 14px;

    word-break: break-word;
}


/* =========================================================
ADMIN BADGE
========================================================= */

.admin-badge
{
    display: inline-flex;

    margin-top: 15px;

    background: rgba(37,99,235,.15);

    color: #60a5fa;

    padding: 8px 14px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
}


/* =========================================================
MENU
========================================================= */

.profile-menu
{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-menu a
{
    display: flex;
    align-items: center;

    min-height: 52px;

    padding: 0 18px;

    border-radius: 14px;

    text-decoration: none;

    color: #cbd5e1;

    font-size: 15px;
    font-weight: 500;

    transition: .25s;
}

.profile-menu a:hover
{
    background: rgba(255,255,255,.05);

    color: #fff;
}

.profile-menu a.active
{
    background: #2563eb;

    color: #fff;
}


/* =========================================================
ADMIN LINKS
========================================================= */

.admin-link
{
    background: rgba(37,99,235,.08);
}


/* =========================================================
DIVIDER
========================================================= */

.profile-divider
{
    height: 1px;

    background: rgba(255,255,255,.08);

    margin: 12px 0;
}


/* =========================================================
LOGOUT
========================================================= */

.logout-link
{
    color: #f87171 !important;
}

.logout-link:hover
{
    background: rgba(248,113,113,.12) !important;
}


/* =========================================================
CONTENT
========================================================= */

.profile-content
{
    background: #111827;

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 24px;

    padding: 35px;

    min-height: 700px;
}


/* =========================================================
CARDS
========================================================= */

.profile-cards
{
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));

    gap: 20px;
}

.profile-card
{
    background: #0f172a;

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 20px;

    padding: 24px;

    transition: .25s;
}

.profile-card:hover
{
    transform: translateY(-3px);

    border-color: rgba(37,99,235,.4);
}

.profile-card h3
{
    color: #fff;

    font-size: 18px;

    margin-bottom: 10px;
}

.profile-card p
{
    color: #94a3b8;

    line-height: 1.6;
}




/* =========================================================
SECTION TITLE
========================================================= */

.profile-title
{
    color: #fff;

    font-size: 32px;

    margin-bottom: 10px;
}

.profile-subtitle
{
    color: #94a3b8;

    margin-bottom: 35px;
}


/* =========================================================
FORMS
========================================================= */

.profile-form
{
    max-width: 700px;
}

.profile-form-group
{
    margin-bottom: 24px;
}

.profile-form-group label
{
    display: block;

    color: #e2e8f0;

    margin-bottom: 10px;

    font-size: 14px;
}

.profile-form-group input
{
    width: 100%;

    height: 56px;

    border: 1px solid rgba(255,255,255,.08);

    background: #0f172a;

    border-radius: 14px;

    padding: 0 18px;

    color: #fff;

    outline: none;
}

.profile-form-group input:focus
{
    border-color: #2563eb;
}


/* =========================================================
BUTTON
========================================================= */

.profile-btn
{
    height: 56px;

    padding: 0 28px;

    border: none;

    border-radius: 14px;

    background: #2563eb;

    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: .25s;
}

.profile-btn:hover
{
    background: #1d4ed8;
}


/* =========================================================
RESPONSIVE
========================================================= */

@media(max-width: 980px)
{
    .profile-container
    {
        grid-template-columns: 1fr;
    }

    .profile-sidebar
    {
        position: relative;
        top: auto;
    }
}


@media(max-width: 768px)
{
    .profile-page
    {
        padding: 20px 15px;
    }

    .profile-sidebar,
    .profile-content
    {
        padding: 25px;
    }

    .profile-title
    {
        font-size: 26px;
    }
}


.offers-card {
    background: linear-gradient(135deg, #111, #1d1d1d);
    color: #fff;
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.offers-card::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,180,0,0.15), transparent 70%);
    top: -200px;
    right: -200px;
}

.offers-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.offers-card h3 {
    font-size: 30px;
    margin-bottom: 15px;
}

.offers-card p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.8;
    line-height: 1.6;
}

.offers-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.offer-item {
    background: rgba(255,255,255,0.08);
    padding: 12px 18px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.offers-card .btn-primary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffb400, #ff7a00);
    color: #111;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.offers-card .btn-primary:hover {
    transform: translateY(-3px);
}




.profile-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.form-section-title {
    margin-bottom: 20px;
    font-size: 22px;
}

.experience-block {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.experience-block h4 {
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
    width: 100%;
}

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
}







.profile-section {
    width: 100%;
}

.profile-section-header {
    margin-bottom: 25px;
}

.profile-section-header small {
    display: inline-block;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.profile-section-header h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.profile-section-header p {
    color: #777;
}

.profile-data-item {
    padding: 18px;
    border-radius: 14px;
    background: #292626;
}

.profile-data-item .label {
    display: block;
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.profile-data-item strong {
    font-size: 16px;
    color: #111;
}


.form-message {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.form-message.success {
    background: rgba(0, 180, 90, 0.1);
    color: #00a65a;
}

.form-message.error {
    background: rgba(255, 80, 80, 0.1);
    color: #ff4d4d;
}