/* ========================================
   GENERAL
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background: hsl(279, 47%, 86%);

    color: white;

    min-height: 100vh;
}


/* ========================================
   HOME CONTAINER
======================================== */

.home-container {
    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;
}


/* ========================================
   HOME CARD
======================================== */

.home-card {
    width: 100%;

    max-width: 600px;

    background: #24102f;

    padding: 35px 30px;

    border-radius: 20px;

    text-align: center;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4);
}


/* ========================================
   VIOLA OFFICIAL LOGO
======================================== */

.viola-logo {
    width: 105px;

    height: 105px;

    object-fit: contain;

    display: block;

    margin: 0 auto 18px;
}


/* ========================================
   BRAND TITLE
======================================== */

.brand-title {
    text-align: center;

    margin-bottom: 25px;
}


.brand-title h1 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;

    font-weight: 700;

    letter-spacing: 1px;

    color: white;

    margin: 0 0 7px;
}


.brand-title p {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 400;

    letter-spacing: 0.3px;

    line-height: 1.5;

    color: #d9c7e3;

    margin: 0;
}


/* ========================================
   USER INFORMATION BOX
======================================== */

.user-info-box {
    width: 100%;

    background: hsl(279, 47%, 86%);

    border: 1px solid #5b3970;

    border-radius: 15px;

    padding: 20px;

    margin-bottom: 18px;

    text-align: left;
}


/* ========================================
   USER INFORMATION ROW
======================================== */

.user-info-row {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 8px 0;
}


.user-info-row span {
    color: #5b3970;

    font-size: 13px;

    font-weight: bold;

    white-space: nowrap;
}


.user-info-row strong {
    color: #24102f;

    font-size: 15px;

    text-align: right;

    word-break: break-word;
}


/* ========================================
   EARNINGS CONTAINER
======================================== */

.earnings-container {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-bottom: 25px;
}


/* ========================================
   EARNING BOX
======================================== */

.earning-box {
    background: hsl(279, 47%, 86%);

    border: 1px solid #5b3970;

    border-radius: 14px;

    padding: 18px 10px;

    min-width: 0;
}


.earning-box p {
    color: #5b3970;

    font-size: 11px;

    font-weight: bold;

    line-height: 1.3;

    margin-bottom: 8px;
}


.earning-box h2 {
    color: #8b3fc7;

    font-size: 20px;

    margin: 0;

    word-break: break-word;
}


/* ========================================
   MENU
======================================== */

.menu-container {
    display: flex;

    flex-direction: column;

    gap: 12px;
}


/* ========================================
   MENU BUTTON
======================================== */

.menu-btn {
    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 10px;

    background: #8b3fc7;

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition:
        background 0.2s,
        transform 0.2s;
}


.menu-btn:hover {
    background: #9d50d8;

    transform: translateY(-1px);
}


.menu-btn:active {
    transform: translateY(0);
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .home-container {
        padding: 15px;
    }


    .home-card {
        padding: 28px 18px;
    }


    .viola-logo {
        width: 85px;

        height: 85px;

        margin-bottom: 15px;
    }


    .brand-title {
        margin-bottom: 22px;
    }


    .brand-title h1 {
        font-size: 25px;

        letter-spacing: 0.8px;
    }


    .brand-title p {
        font-size: 10px;

        line-height: 1.5;
    }


    .user-info-box {
        padding: 16px;
    }


    .user-info-row {
        align-items: flex-start;
    }


    .user-info-row span {
        font-size: 11px;
    }


    .user-info-row strong {
        font-size: 13px;
    }


    .earning-box {
        padding: 15px 7px;
    }


    .earning-box p {
        font-size: 9px;
    }


    .earning-box h2 {
        font-size: 17px;
    }

}


/* ========================================
   VERY SMALL PHONES
======================================== */

@media (max-width: 380px) {

    .home-card {
        padding: 24px 14px;
    }


    .viola-logo {
        width: 75px;

        height: 75px;
    }


    .brand-title h1 {
        font-size: 22px;
    }


    .brand-title p {
        font-size: 9px;
    }


    .earnings-container {
        gap: 7px;
    }


    .earning-box {
        padding: 13px 4px;
    }


    .earning-box h2 {
        font-size: 15px;
    }


    .earning-box p {
        font-size: 8px;
    }

}
/* ========================================
   HIDDEN ELEMENTS
======================================== */

.hidden {
    display: none !important;
}


/* ========================================
   TASK PAGE
======================================== */

.points-box {
    background: hsl(279, 47%, 86%);

    border: 1px solid #5b3970;

    border-radius: 14px;

    padding: 15px;

    margin: 20px 0;

    text-align: center;
}


.points-box p {
    color: #5b3970;

    font-size: 12px;

    font-weight: bold;

    margin-bottom: 5px;
}


.points-box h2 {
    color: #8b3fc7;

    font-size: 22px;

    margin: 0;
}


#questionText {
    color: white;

    font-size: 20px;

    line-height: 1.5;

    margin: 20px 0;
}


.subtitle {
    color: #d9c7e3;

    font-size: 14px;

    line-height: 1.5;

    margin: 8px 0;
}


/* ========================================
   LOADING CIRCLE
======================================== */

.loading-circle {
    width: 45px;

    height: 45px;

    border: 4px solid #d9c7e3;

    border-top-color: #8b3fc7;

    border-radius: 50%;

    margin: 25px auto;

    animation: spin 1s linear infinite;
}


.loading-circle div {
    display: none;
}


@keyframes spin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* ========================================
   TASK MOBILE
======================================== */

@media (max-width: 600px) {

    #questionText {
        font-size: 18px;
    }

    .subtitle {
        font-size: 13px;
    }

}
/* ========================================
   VIOLA WITHDRAWAL
======================================== */

.withdrawal-card {
    max-width: 600px;
}


.withdrawal-title {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 30px;

    letter-spacing: 1px;

    margin-bottom: 10px;
}


.withdrawal-subtitle {
    color: #d9c7e3;

    font-size: 13px;

    line-height: 1.6;

    margin-bottom: 25px;
}


.withdrawal-question {
    color: white;

    font-size: 20px;

    line-height: 1.5;

    margin: 25px 0;
}


/* ========================================
   BALANCE
======================================== */

.withdrawal-balance {
    background: hsl(279, 47%, 86%);

    border: 1px solid #5b3970;

    border-radius: 15px;

    padding: 20px;

    margin-bottom: 15px;
}


.withdrawal-balance p {
    color: #5b3970;

    font-size: 11px;

    font-weight: bold;

    margin-bottom: 8px;
}


.withdrawal-balance h2 {
    color: #8b3fc7;

    font-size: 30px;
}


/* ========================================
   PAYOUT AMOUNT
======================================== */

.withdrawal-amount {
    background: hsl(279, 47%, 86%);

    border: 1px solid #5b3970;

    border-radius: 15px;

    padding: 20px;

    margin-bottom: 20px;
}


.withdrawal-amount p {
    color: #5b3970;

    font-size: 11px;

    font-weight: bold;

    margin-bottom: 8px;
}


.withdrawal-amount h2 {
    color: #8b3fc7;

    font-size: 24px;

    margin-bottom: 6px;
}


.withdrawal-amount span {
    color: #5b3970;

    font-size: 13px;

    font-weight: bold;
}


/* ========================================
   CHOICE BUTTONS
======================================== */

.choice-container {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin-top: 25px;
}


.choice-btn {
    padding: 15px;

    border: none;

    border-radius: 10px;

    background: #8b3fc7;

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;
}


.choice-btn:hover {
    background: #9d50d8;
}


.secondary-choice {
    background: transparent;

    border: 1px solid #8b3fc7;

    color: #d9c7e3;
}


.secondary-choice:hover {
    background: #32183f;
}


/* ========================================
   SUCCESS
======================================== */

.success-box,
.remaining-box {
    background: hsl(279, 47%, 86%);

    border: 1px solid #5b3970;

    border-radius: 15px;

    padding: 20px;

    margin-bottom: 15px;
}


.success-box p,
.remaining-box p {
    color: #5b3970;

    font-size: 11px;

    font-weight: bold;

    margin-bottom: 8px;
}


.success-box h2,
.remaining-box h2 {
    color: #8b3fc7;

    font-size: 25px;
}


.remaining-box span {
    display: block;

    color: #5b3970;

    font-size: 12px;

    margin-top: 8px;

    line-height: 1.5;
}


.screenshot-reminder {
    color: #d9c7e3;

    font-size: 13px;

    line-height: 1.5;

    margin: 18px 0;
}


/* ========================================
   RPO FORM
======================================== */

.rpo-form-box {
    background: hsl(279, 47%, 86%);

    border: 1px solid #5b3970;

    border-radius: 15px;

    padding: 20px;

    text-align: left;

    color: #24102f;

    font-size: 13px;

    line-height: 1.55;

    margin-bottom: 20px;

    overflow-wrap: anywhere;
}


.rpo-form-box p {
    margin-bottom: 3px;
}


/* ========================================
   PENDING
======================================== */

.pending-icon {
    width: 45px;

    height: 45px;

    margin: 10px auto 20px;

    border-radius: 50%;

    background: #f39a24;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

    box-shadow:
        0 0 0 6px rgba(243, 154, 36, 0.15);
}


/* ========================================
   NOT ENOUGH POINTS
======================================== */

.not-enough-points {
    color: #8b3fc7 !important;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

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


    .withdrawal-question {
        font-size: 18px;
    }


    .withdrawal-balance h2 {
        font-size: 26px;
    }


    .withdrawal-amount h2 {
        font-size: 21px;
    }


    .rpo-form-box {
        font-size: 12px;

        padding: 16px;
    }

}
/* ========================================
   PAYOUT STATUS
======================================== */

.payout-status-box {
    width: 100%;
    margin-top: 22px;
    padding: 17px 18px;
    border-radius: 14px;
    text-align: left;
    background: #32183f;
    border: 1px solid #5b3970;
}


.payout-status-label {
    color: #d9c7e3;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
}


.payout-status-title {
    color: white;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 6px;
}


.payout-status-message {
    color: #d9c7e3;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}


/* ========================================
   STATUS TYPES
======================================== */

.status-pending {
    border-color: #f39a24;
}


.status-checking {
    border-color: #4b9cff;
}


.status-approved {
    border-color: #4caf50;
}


.status-void {
    border-color: #e05252;
}


/* ========================================
   STATUS MOBILE
======================================== */

@media (max-width: 600px) {

    .payout-status-box {
        padding: 15px;
        margin-top: 18px;
    }


    .payout-status-title {
        font-size: 15px;
    }


    .payout-status-message {
        font-size: 11px;
    }

}
/* ========================================
   VIOLA AUTH / REGISTER & LOGIN
======================================== */

.auth-container {
    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;
}


.auth-card {
    width: 100%;

    max-width: 480px;

    background: #24102f;

    padding: 35px 30px;

    border-radius: 20px;

    text-align: center;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4);
}


.logo-container {
    display: flex;

    justify-content: center;

    align-items: center;

    margin-bottom: 20px;
}


.auth-card .viola-logo {
    width: 90px;

    height: 90px;

    border-radius: 50%;

    background: #8b3fc7;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 48px;

    font-weight: bold;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);
}


.auth-card h1,
.auth-card h2 {
    color: white;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    letter-spacing: 1px;

    margin-bottom: 10px;
}


.auth-card h1 {
    font-size: 28px;
}


.auth-card h2 {
    font-size: 26px;
}


.auth-card .subtitle {
    color: #d9c7e3;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 25px;
}


.input-group {
    text-align: left;

    margin-bottom: 18px;
}


.input-group label {
    display: block;

    color: #d9c7e3;

    font-size: 12px;

    font-weight: bold;

    margin-bottom: 7px;
}


.input-group input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #5b3970;

    border-radius: 10px;

    background: #32183f;

    color: white;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}


.input-group input::placeholder {
    color: #bdaac8;
}


.input-group input:focus {
    border-color: #8b3fc7;

    box-shadow:
        0 0 0 3px rgba(139, 63, 199, 0.2);
}


.primary-btn {
    width: 100%;

    padding: 14px;

    margin-top: 5px;

    border: none;

    border-radius: 10px;

    background: #8b3fc7;

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition:
        background 0.2s,
        transform 0.2s;
}


.primary-btn:hover {
    background: #9d50d8;

    transform: translateY(-1px);
}


.primary-btn:active {
    transform: translateY(0);
}


.switch-auth {
    color: #d9c7e3;

    font-size: 12px;

    margin-top: 20px;
}


.switch-auth button {
    border: none;

    background: none;

    color: #c77bea;

    font-size: 12px;

    font-weight: bold;

    cursor: pointer;

    padding: 0;
}


.switch-auth button:hover {
    text-decoration: underline;
}


/* ========================================
   AUTH MOBILE
======================================== */

@media (max-width: 600px) {

    .auth-container {
        padding: 15px;
    }


    .auth-card {
        padding: 28px 18px;
    }


    .auth-card .viola-logo {
        width: 80px;

        height: 80px;

        font-size: 42px;
    }


    .auth-card h1 {
        font-size: 24px;
    }


    .auth-card h2 {
        font-size: 23px;
    }


    .auth-card .subtitle {
        font-size: 12px;
    }

}

