/*
==========================================================
RAGO ACCOUNT
Profile Page Styles
==========================================================
*/

.rago-profile-page {

    display: block;

    width: 100%;
    max-width: 100%;

    padding: 10px 0 40px;

    color: #ffffff;

}


/*
|--------------------------------------------------------------------------
| Profile Header
|--------------------------------------------------------------------------
*/

.rago-profile-header {

    display: flex;
    align-items: center;
    gap: 18px;

    padding: 28px;

    margin-bottom: 24px;

    background:
        linear-gradient(
            135deg,
            #17243b,
            #101a2c
        );

    border: 1px solid #263b57;

    border-radius: 22px;

    position: relative;

    overflow: hidden;

}

.rago-profile-header::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -70px;
    top: -80px;

    background: rgba(0, 195, 255, 0.10);

    border-radius: 50%;

    pointer-events: none;

}


/*
|--------------------------------------------------------------------------
| Avatar
|--------------------------------------------------------------------------
*/

.rago-profile-avatar {

    width: 82px;
    height: 82px;

    flex: 0 0 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #08c9ff,
            #087fd8
        );

    color: #ffffff;

    font-size: 36px;
    font-weight: 800;

    box-shadow:
        0 0 24px rgba(0, 193, 255, 0.28);

}


/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/

.rago-profile-heading {

    flex: 1;

    min-width: 0;

    position: relative;

    z-index: 1;

}

.rago-profile-heading h1 {

    margin: 0 0 8px;

    color: #ffffff;

    font-size: 28px;

    font-weight: 800;

    line-height: 1.2;

}

.rago-profile-heading p {

    margin: 0;

    color: #9eb0c7;

    font-size: 14px;

}


/*
|--------------------------------------------------------------------------
| Plan Badge
|--------------------------------------------------------------------------
*/

.rago-profile-plan {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 15px;

    border: 1px solid rgba(0, 204, 255, 0.35);

    border-radius: 999px;

    background: rgba(0, 195, 255, 0.08);

    color: #00d5ff;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;

    position: relative;

    z-index: 1;

}

.rago-profile-plan-dot {

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #58c96b;

    box-shadow: 0 0 10px rgba(88, 201, 107, 0.7);

}


/*
|--------------------------------------------------------------------------
| Profile Card
|--------------------------------------------------------------------------
*/

.rago-profile-card {

    margin-bottom: 24px;

    padding: 28px;

    background:
        linear-gradient(
            135deg,
            #111d2d,
            #0d1725
        );

    border: 1px solid #24364d;

    border-radius: 20px;

}


/*
|--------------------------------------------------------------------------
| Card Title
|--------------------------------------------------------------------------
*/

.rago-profile-card-title {

    margin-bottom: 24px;

}

.rago-profile-card-title h2 {

    margin: 0 0 7px;

    color: #ffffff;

    font-size: 21px;

    font-weight: 800;

}

.rago-profile-card-title p {

    margin: 0;

    color: #8fa4bd;

    font-size: 14px;

}


/*
|--------------------------------------------------------------------------
| Profile Fields
|--------------------------------------------------------------------------
*/

.rago-profile-fields {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

}

.rago-profile-field {

    min-width: 0;

    padding: 18px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(140, 170, 205, 0.15);

    border-radius: 13px;

}

.rago-profile-field label {

    display: block;

    margin-bottom: 9px;

    color: #8fa7c2;

    font-size: 13px;

    font-weight: 600;

}

.rago-profile-value {

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    overflow-wrap: anywhere;

}

.rago-profile-plan-value {

    color: #00d5ff;

}


/*
|--------------------------------------------------------------------------
| Security Row
|--------------------------------------------------------------------------
*/

.rago-profile-security-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(140, 170, 205, 0.15);

    border-radius: 14px;

}

.rago-profile-security-row strong {

    display: block;

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 16px;

}

.rago-profile-security-row p {

    margin: 0;

    color: #8fa7c2;

    font-size: 13px;

}




























/*
|--------------------------------------------------------------------------
| Security Button
|--------------------------------------------------------------------------
*/

.rago-profile-action {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 12px 18px;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #08c9ff,
        #087fd8
    );

    color: #ffffff !important;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none !important;

    white-space: nowrap;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

}

.rago-profile-action:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0, 193, 255, 0.25);

}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .rago-profile-header {

        align-items: flex-start;

        flex-wrap: wrap;

        padding: 22px;

    }

    .rago-profile-heading {

        flex: 1 1 calc(100% - 105px);

    }

    .rago-profile-heading h1 {

        font-size: 23px;

    }

    .rago-profile-plan {

        margin-top: 4px;

    }

    .rago-profile-card {

        padding: 20px;

    }

    .rago-profile-fields {

        grid-template-columns: 1fr;

    }

    .rago-profile-security-row {

        align-items: flex-start;

        flex-direction: column;

    }

    .rago-profile-action {

        width: 100%;

    }

}

@media (max-width: 480px) {

    .rago-profile-avatar {

        width: 65px;
        height: 65px;

        flex-basis: 65px;

        font-size: 28px;

    }

    .rago-profile-heading h1 {

        font-size: 20px;

    }

    .rago-profile-heading p {

        font-size: 13px;

    }

    .rago-profile-plan {

        font-size: 12px;

    }

}


















/* ==========================================================
   RAGO PROFILE
   Form Input and Button Spacing
   ========================================================== */

.rago-profile-name-form,
.rago-profile-phone-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.rago-profile-name-form input,
.rago-profile-phone-form input {
    width: 100%;
    box-sizing: border-box;
}

.rago-profile-name-form .rago-profile-action,
.rago-profile-phone-form .rago-profile-action {
    width: auto !important;
    align-self: flex-start;
}

/* Mobile */

@media (max-width: 768px) {

    .rago-profile-name-form .rago-profile-action,
    .rago-profile-phone-form .rago-profile-action {
        width: 100% !important;
    }

}












/* ==========================================================
   PROFILE - MOBILE TOP SPACE FIX
   ========================================================== */

@media (max-width: 600px) {

    .rago-profile-page {
        padding-top: 170px !important;
    }

}


