/* =========================================================
   VoicifyBook Account System
   ========================================================= */

.voicify-account-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 25px 80px;
    box-sizing: border-box;
}

.voicify-account-header {
    text-align: center;
    margin-bottom: 45px;
}

.voicify-small-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 25px;
}

.voicify-small-logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #6c2bd9;
    border-radius: 3px;
    font-size: 12px;
}

.voicify-account-header h1 {
    color: #ffffff;
    font-size: 38px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.voicify-account-header p {
    color: #a8a8a8;
    font-size: 16px;
    margin: 0;
}

.voicify-account-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.voicify-account-card {
    position: relative;
    padding: 45px 40px;
    border: 1px solid #343434;
    border-radius: 18px;
    background: #171717;
    text-align: center;
    box-sizing: border-box;
    transition: all .25s ease;
    overflow: hidden;
}

.voicify-account-card:hover {
    border-color: #7134d4;
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .35);
}

.voicify-account-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        #5421a6,
        #8d4cff,
        #5421a6
    );
}

.voicify-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(108, 43, 217, .14);
    border: 1px solid rgba(108, 43, 217, .35);
    font-size: 32px;
}

.voicify-card-label {
    color: #a269ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.voicify-account-card h2 {
    color: #ffffff;
    font-size: 28px;
    margin: 0 0 15px;
}

.voicify-account-card > p {
    color: #a8a8a8;
    font-size: 15px;
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto 28px;
}

.voicify-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    margin: 0 auto 30px;
    text-align: left;
}

.voicify-features div {
    color: #d6d6d6;
    font-size: 14px;
}

.voicify-features span {
    color: #9b5cff;
    font-weight: 800;
    margin-right: 8px;
}

.voicify-google-button,
.voicify-role-button {
    width: 100%;
    min-height: 52px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s ease;
}

.voicify-google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #222222;
    border: 1px solid #dddddd;
    margin-bottom: 12px;
}

.voicify-google-button:hover {
    background: #f1f1f1;
    transform: translateY(-1px);
}

.google-icon {
    font-size: 19px;
    font-weight: 900;
}

.voicify-role-button {
    background: transparent;
    color: #a269ff;
    border: 1px solid #6331a7;
}

.voicify-role-button:hover {
    background: rgba(108, 43, 217, .12);
    border-color: #9b5cff;
}

.voicify-account-note {
    text-align: center;
    color: #777777;
    font-size: 13px;
    margin-top: 30px;
}

.voicify-account-note a {
    color: #a269ff;
    text-decoration: none;
}

.voicify-account-note a:hover {
    text-decoration: underline;
}


/* =========================================================
   Logged in
   ========================================================= */

.voicify-logged-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 70px 25px;
}

.voicify-welcome {
    margin-bottom: 30px;
}

.voicify-welcome h1 {
    color: #ffffff;
    margin: 12px 0;
}

.voicify-welcome p {
    color: #999999;
}

.voicify-badge {
    display: inline-block;
    padding: 7px 13px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.voicify-badge.author {
    color: #b486ff;
    background: rgba(108, 43, 217, .15);
}

.voicify-badge.reader {
    color: #b486ff;
    background: rgba(108, 43, 217, .15);
}

.voicify-dashboard-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.voicify-dashboard-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
}

.voicify-dashboard-actions a:first-child {
    background: #6c2bd9;
    color: #ffffff;
}

.voicify-dashboard-actions a:last-child {
    border: 1px solid #444444;
    color: #cccccc;
}


/* =========================================================
   Dashboards
   ========================================================= */

.voicify-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 55px 25px 80px;
}

.voicify-dashboard-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 35px;
}

.voicify-dashboard-label {
    color: #a269ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.voicify-dashboard-top h1 {
    color: #ffffff;
    font-size: 34px;
    margin: 10px 0;
}

.voicify-dashboard-top p {
    color: #929292;
    margin: 0;
}

.voicify-dashboard-logout {
    color: #bbbbbb;
    text-decoration: none;
    border: 1px solid #3c3c3c;
    padding: 10px 18px;
    border-radius: 7px;
}

.voicify-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.voicify-stat-card {
    background: #181818;
    border: 1px solid #333333;
    border-radius: 13px;
    padding: 25px;
}

.voicify-stat-card span {
    display: block;
    color: #8c8c8c;
    font-size: 13px;
    margin-bottom: 10px;
}

.voicify-stat-card strong {
    color: #ffffff;
    font-size: 28px;
}

.voicify-dashboard-section,
.voicify-reader-card-large {
    background: #181818;
    border: 1px solid #333333;
    border-radius: 15px;
    padding: 28px;
}

.voicify-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.voicify-section-heading span {
    color: #8c8c8c;
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.voicify-section-heading h2 {
    color: #ffffff;
    margin: 6px 0 0;
}

.voicify-primary-button,
.voicify-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.voicify-primary-button {
    background: #6c2bd9;
    color: #ffffff;
}

.voicify-primary-button:hover {
    background: #7c3be9;
    color: #ffffff;
}

.voicify-secondary-button {
    border: 1px solid #4b4b4b;
    color: #cccccc;
}

.voicify-book-list {
    display: flex;
    flex-direction: column;
}

.voicify-book-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid #292929;
}

.voicify-book-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.voicify-book-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(108, 43, 217, .13);
}

.voicify-book-info strong {
    display: block;
    color: #ffffff;
    margin-bottom: 4px;
}

.voicify-book-info small {
    color: #777777;
}

.voicify-status {
    padding: 6px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
}

.voicify-status-publish {
    background: rgba(54, 180, 110, .12);
    color: #65d99a;
}

.voicify-status-draft {
    background: rgba(255, 190, 70, .12);
    color: #e8bd69;
}

.voicify-status-pending {
    background: rgba(255, 190, 70, .12);
    color: #e8bd69;
}

.voicify-empty {
    text-align: center;
    padding: 50px 20px;
}

.voicify-empty > div {
    font-size: 45px;
    margin-bottom: 15px;
}

.voicify-empty h3 {
    color: #ffffff;
}

.voicify-empty p {
    color: #888888;
    margin-bottom: 25px;
}

.voicify-reader-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.voicify-large-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.voicify-reader-card-large h2 {
    color: #ffffff;
    margin: 0 0 10px;
}

.voicify-reader-card-large p {
    color: #929292;
    line-height: 1.7;
    margin-bottom: 25px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 850px) {

    .voicify-account-columns {
        grid-template-columns: 1fr;
    }

    .voicify-stat-grid {
        grid-template-columns: 1fr;
    }

    .voicify-reader-content {
        grid-template-columns: 1fr;
    }

    .voicify-dashboard-top {
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    .voicify-account-page {
        padding: 40px 15px 60px;
    }

    .voicify-account-header h1 {
        font-size: 28px;
    }

    .voicify-account-card {
        padding: 35px 22px;
    }

    .voicify-account-card h2 {
        font-size: 23px;
    }

    .voicify-dashboard {
        padding: 35px 15px 60px;
    }

    .voicify-dashboard-top h1 {
        font-size: 27px;
    }

    .voicify-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .voicify-book-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .voicify-status {
        margin-left: 57px;
    }
}