/* =========================================================
   SECURECHAT
   WhatsApp-Inspired Pink Theme
   Responsive Desktop + Mobile
========================================================= */

:root {
    --pink: #e91e63;
    --pink-dark: #c2185b;
    --pink-light: #fce4ec;

    --header: #e91e63;
    --header-dark: #d81b60;

    --bg: #f0f2f5;
    --chat-bg: #f7eee8;

    --white: #ffffff;
    --text: #111b21;
    --muted: #667781;

    --border: #e6e9eb;

    --sent: #ffd6e5;
    --received: #ffffff;

    --shadow: 0 1px 2px rgba(0,0,0,.08);
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    height: 100%;
    min-height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--bg);
    color: var(--text);

    -webkit-tap-highlight-color: transparent;

    touch-action: manipulation;
}

button,
input {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
}

/* Prevent mobile browser weird zoom */
input,
textarea,
select,
button {
    font-size: 16px;
}

input {
    -webkit-appearance: none;
    appearance: none;
}

/* =========================================================
   APP
========================================================= */

.securechat-app {
    position: relative;

    width: 100%;
    height: 100vh;
    height: 100dvh;

    display: flex;

    overflow: hidden;

    background: var(--bg);
}

/* =========================================================
   SIDEBAR
========================================================= */

.chat-list-panel {
    width: 380px;
    min-width: 380px;
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--white);

    border-right: 1px solid var(--border);
}

/* =========================================================
   SIDEBAR HEADER
========================================================= */

.chat-list-header {
    width: 100%;
    height: 64px;
    min-height: 64px;

    padding: 8px 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: var(--header);

    color: white;
}

.my-profile {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 10px;
}

.my-avatar {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.22);

    color: white;

    font-size: 17px;
    font-weight: 700;
}

.my-info {
    min-width: 0;
}

.my-info strong {
    display: block;

    max-width: 220px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: white;

    font-size: 15px;
    font-weight: 600;
}

.my-info small {
    display: block;

    margin-top: 2px;

    color: rgba(255,255,255,.78);

    font-size: 11px;
}

.header-actions {
    display: flex;
    align-items: center;

    gap: 2px;
}

.header-actions button,
.header-actions a {
    width: 42px;
    height: 42px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: white;

    text-decoration: none;

    font-size: 23px;

    transition: background .15s ease;
}

.header-actions button:hover,
.header-actions a:hover {
    background: rgba(255,255,255,.13);
}

/* =========================================================
   SEARCH
========================================================= */

.search-area {
    width: 100%;

    padding: 9px 11px;

    background: white;

    border-bottom: 1px solid var(--border);
}

.search-box {
    width: 100%;
    height: 42px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 13px;

    border-radius: 9px;

    background: #f0f2f5;
}

.search-box span {
    flex-shrink: 0;

    color: #54656f;

    font-size: 23px;

    line-height: 1;
}

.search-box input {
    width: 100%;
    min-width: 0;
    height: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--text);

    font-size: 14px;
}

.search-box input::placeholder {
    color: #667781;
}

/* =========================================================
   LIST TITLE
========================================================= */

.list-title {
    padding: 11px 16px 8px;

    background: white;

    color: #8696a0;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .4px;
}

/* =========================================================
   MEMBERS LIST
========================================================= */

.members-list {
    flex: 1;

    min-height: 0;

    overflow-x: hidden;
    overflow-y: auto;

    background: white;

    scrollbar-width: thin;
}

.members-list::-webkit-scrollbar {
    width: 5px;
}

.members-list::-webkit-scrollbar-thumb {
    background: #ccd2d6;

    border-radius: 10px;
}

/* =========================================================
   MEMBER ITEM
========================================================= */

.member-item {
    width: 100%;
    min-height: 72px;

    padding: 10px 14px;

    display: flex !important;
    align-items: center;

    gap: 12px;

    border: 0;
    border-bottom: 1px solid #f0f2f5;

    outline: none;

    background: white;

    color: var(--text);

    text-align: left;

    transition:
        background .12s ease,
        transform .08s ease;
}

.member-item:hover {
    background: #f5f6f6;
}

.member-item:active {
    background: #e9edef;

    transform: scale(.995);
}

.member-item.active {
    background: #fce4ec;
}

/* =========================================================
   MEMBER AVATAR
========================================================= */

.member-avatar {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--pink);

    color: white;

    font-size: 18px;
    font-weight: 700;

    user-select: none;
}

.member-details {
    min-width: 0;

    flex: 1;

    display: block;
}

.member-name {
    display: block;

    max-width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: #111b21;

    font-size: 15px;
    font-weight: 500;
}

.member-last {
    display: block;

    max-width: 100%;

    margin-top: 4px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: var(--muted);

    font-size: 12px;
}

/* =========================================================
   CHAT PANEL
========================================================= */

.chat-panel {
    flex: 1;

    min-width: 0;
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: var(--chat-bg);
}

/* =========================================================
   CHAT HEADER
========================================================= */

.chat-header {
    width: 100%;
    height: 64px;
    min-height: 64px;

    padding: 7px 10px;

    display: flex;
    align-items: center;

    gap: 9px;

    background: var(--header);

    color: white;

    box-shadow: 0 1px 2px rgba(0,0,0,.12);

    z-index: 20;
}

.mobile-back {
    display: none;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    padding: 0;

    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: white;

    font-size: 31px;

    line-height: 1;
}

.mobile-back:hover {
    background: rgba(255,255,255,.12);
}

.chat-avatar {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.2);

    color: white;

    font-size: 17px;
    font-weight: 700;
}

.chat-user-info {
    flex: 1;

    min-width: 0;
}

.chat-user-info strong {
    display: block;

    max-width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: white;

    font-size: 15px;
    font-weight: 600;
}

.chat-user-info small {
    display: block;

    margin-top: 3px;

    max-width: 100%;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    color: rgba(255,255,255,.78);

    font-size: 11px;
}

/* =========================================================
   CHAT ACTIONS
========================================================= */

.chat-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 1px;
}

.chat-actions button {
    width: 43px;
    height: 43px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: white;

    font-size: 18px;

    transition: background .15s ease;
}

.chat-actions button:hover {
    background: rgba(255,255,255,.13);
}

.chat-actions button:disabled {
    opacity: .45;

    cursor: default;
}

/* =========================================================
   CHAT BODY
========================================================= */

.chat-body {
    position: relative;

    flex: 1;

    min-height: 0;

    overflow: hidden;

    background-color: var(--chat-bg);

    background-image:
        radial-gradient(
            rgba(100,80,70,.07) 1px,
            transparent 1px
        );

    background-size: 20px 20px;
}

/* =========================================================
   EMPTY STATE
========================================================= */

.empty-chat {
    position: absolute;

    inset: 0;

    padding: 25px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.empty-lock {
    width: 74px;
    height: 74px;

    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--pink-light);

    font-size: 31px;

    box-shadow: 0 4px 15px rgba(233,30,99,.08);
}

.empty-chat h2 {
    margin: 0 0 8px;

    color: #41525d;

    font-size: 22px;
    font-weight: 400;
}

.empty-chat p {
    max-width: 400px;

    margin: 0;

    color: #667781;

    font-size: 13px;

    line-height: 1.6;
}

.empty-chat small {
    margin-top: 11px;

    color: #8696a0;

    font-size: 10px;
}

/* =========================================================
   MESSAGES
========================================================= */

.messages {
    width: 100%;
    height: 100%;

    padding: 16px 8% 18px;

    overflow-x: hidden;
    overflow-y: auto;

    scrollbar-width: thin;

    scroll-behavior: smooth;
}

.messages::-webkit-scrollbar {
    width: 6px;
}

.messages::-webkit-scrollbar-thumb {
    background: rgba(84,94,99,.22);

    border-radius: 10px;
}

/* =========================================================
   MESSAGE BUBBLE
========================================================= */

.msg {
    position: relative;

    width: fit-content;
    max-width: min(65%, 600px);

    margin: 5px 0;

    padding: 8px 11px;

    border-radius: 8px;

    background: var(--received);

    color: var(--text);

    font-size: 14px;

    line-height: 1.45;

    word-break: break-word;

    box-shadow: var(--shadow);
}

.msg::after {
    content: "";

    position: absolute;

    left: -5px;
    top: 0;

    width: 0;
    height: 0;

    border-top: 7px solid white;
    border-left: 7px solid transparent;
}

.msg.mine {
    margin-left: auto;

    background: var(--sent);
}

.msg.mine::after {
    left: auto;
    right: -5px;

    border-top-color: var(--sent);

    border-left: 0;
    border-right: 7px solid transparent;
}

/* =========================================================
   MESSAGE FORM
========================================================= */

.message-form {
    width: 100%;
    min-height: 64px;

    flex-shrink: 0;

    padding: 8px 10px;

    display: flex;
    align-items: center;

    gap: 4px;

    background: #f0f2f5;

    z-index: 30;
}

.composer-icon {
    width: 42px;
    height: 44px;

    flex-shrink: 0;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;

    background: transparent;

    color: #54656f;

    font-size: 21px;

    cursor: pointer;
}

.composer-icon:hover {
    color: var(--pink);
}

.attach-button {
    cursor: pointer;
}

/* =========================================================
   TEXT INPUT
========================================================= */

#text {
    flex: 1;

    width: 100%;
    min-width: 0;
    height: 44px;

    padding: 0 16px;

    border: 0;
    outline: 0;

    border-radius: 22px;

    background: white;

    color: var(--text);

    font-size: 15px;

    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

#text::placeholder {
    color: #667781;
}

#text:focus {
    box-shadow:
        0 0 0 2px rgba(233,30,99,.12);
}

/* =========================================================
   MIC + SEND
========================================================= */

.mic-button,
.send-button {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: var(--pink);

    color: white;

    font-size: 18px;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .1s ease;
}

.mic-button:hover,
.send-button:hover {
    background: var(--pink-dark);
}

.mic-button:active,
.send-button:active {
    transform: scale(.94);
}

/* =========================================================
   CALL MODAL
========================================================= */

.modal {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 99999;

    padding: 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0,0,0,.88);
}

.modal.hidden {
    display: none;
}

/* =========================================================
   CALL WINDOW
========================================================= */

.call-window {
    position: relative;

    width: min(900px, 100%);
    max-width: 100%;

    max-height: 96dvh;

    padding: 10px;

    overflow: auto;

    border-radius: 16px;

    background: #111;

    color: white;

    box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

.call-top {
    width: 100%;
    height: 46px;

    padding: 0 9px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.call-top strong {
    font-size: 14px;
}

.call-top span {
    color: #aaa;

    font-size: 11px;
}

/* =========================================================
   VIDEO
========================================================= */

.video-area {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;
}

.video-area video {
    width: 50%;
    max-width: 100%;
    max-height: 65vh;

    display: block;

    border-radius: 10px;

    background: #000;

    object-fit: contain;
}

#local {
    transform: scaleX(-1);
}

/* =========================================================
   CALL CONTROLS
========================================================= */

.call-controls {
    width: 100%;

    padding: 14px 10px 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;
}

.call-controls button {
    width: 52px;
    height: 52px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #444;

    color: white;

    font-size: 20px;
}

.call-controls button:active {
    transform: scale(.94);
}

.call-controls .end-call {
    background: var(--pink);

    transform: rotate(135deg);
}

.call-controls .end-call:active {
    transform: rotate(135deg) scale(.94);
}

.call-window p {
    margin: 4px 0 2px;

    color: #aaa;

    font-size: 11px;

    text-align: center;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .chat-list-panel {
        width: 330px;
        min-width: 330px;
    }

    .messages {
        padding-left: 5%;
        padding-right: 5%;
    }

    .msg {
        max-width: 72%;
    }
}

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

@media (max-width: 700px) {

    html,
    body {
        width: 100%;
        height: 100%;

        overflow: hidden;
    }

    .securechat-app {
        position: relative;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        display: block;

        overflow: hidden;
    }

    /* -------------------------
       SIDEBAR
    ------------------------- */

    .chat-list-panel {
        position: absolute;

        inset: 0;

        width: 100%;
        min-width: 100%;
        height: 100%;

        display: flex;

        border: 0;

        z-index: 1;
    }

    /* -------------------------
       CHAT
    ------------------------- */

    .chat-panel {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        display: none;

        z-index: 100;

        overflow: hidden;
    }

    .securechat-app.chat-open .chat-list-panel {
        display: none;
    }

    .securechat-app.chat-open .chat-panel {
        display: flex;
    }

    /* -------------------------
       SIDEBAR HEADER
    ------------------------- */

    .chat-list-header {
        height: 60px;
        min-height: 60px;

        padding: 7px 9px;
    }

    .my-avatar {
        width: 43px;
        height: 43px;
    }

    .my-info strong {
        max-width: 190px;

        font-size: 14px;
    }

    .my-info small {
        font-size: 10px;
    }

    .header-actions button,
    .header-actions a {
        width: 39px;
        height: 39px;
    }

    /* -------------------------
       SEARCH
    ------------------------- */

    .search-area {
        padding: 8px 9px;
    }

    .search-box {
        height: 41px;
    }

    /* -------------------------
       MEMBERS
    ------------------------- */

    .list-title {
        padding: 10px 14px 7px;
    }

    .member-item {
        min-height: 73px;

        padding: 10px 13px;
    }

    .member-avatar {
        width: 51px;
        height: 51px;
    }

    /* -------------------------
       CHAT HEADER
    ------------------------- */

    .chat-header {
        height: 60px;
        min-height: 60px;

        padding: 6px 5px 6px 2px;

        gap: 5px;
    }

    .mobile-back {
        display: flex;

        width: 40px;
        height: 40px;
    }

    .chat-avatar {
        width: 43px;
        height: 43px;
    }

    .chat-user-info strong {
        font-size: 14px;
    }

    .chat-user-info small {
        font-size: 10px;
    }

    .chat-actions {
        gap: 0;
    }

    .chat-actions button {
        width: 40px;
        height: 40px;

        font-size: 17px;
    }

    /* -------------------------
       MESSAGES
    ------------------------- */

    .messages {
        padding: 10px 8px 14px;
    }

    .msg {
        max-width: 84%;

        margin: 4px 0;

        padding: 7px 9px;

        font-size: 14px;
    }

    /* -------------------------
       COMPOSER
    ------------------------- */

    .message-form {
        min-height: 60px;

        padding:
            6px
            5px
            calc(6px + env(safe-area-inset-bottom))
            5px;

        gap: 2px;
    }

    .composer-icon {
        width: 36px;
        height: 42px;

        font-size: 20px;
    }

    #text {
        height: 42px;

        padding: 0 13px;

        font-size: 16px;
    }

    .mic-button,
    .send-button {
        width: 42px;
        height: 42px;

        font-size: 17px;
    }

    /* -------------------------
       CALL
    ------------------------- */

    .modal {
        padding: 5px;
    }

    .call-window {
        width: 100%;
        max-width: 100%;

        max-height: 98dvh;

        padding: 7px;

        border-radius: 13px;
    }

    .video-area {
        flex-direction: column;

        gap: 6px;
    }

    .video-area video {
        width: 100%;

        max-height: 39dvh;
    }

    .call-controls {
        padding-top: 10px;
    }
}

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

@media (max-width: 380px) {

    .my-info strong {
        max-width: 145px;
    }

    .header-actions button,
    .header-actions a {
        width: 35px;
        height: 35px;

        font-size: 20px;
    }

    .mobile-back {
        width: 36px;
        height: 36px;
    }

    .chat-avatar {
        width: 40px;
        height: 40px;
    }

    .chat-actions button {
        width: 36px;
        height: 36px;

        font-size: 16px;
    }

    .member-avatar {
        width: 48px;
        height: 48px;
    }

    .composer-icon {
        width: 31px;
    }

    .mic-button,
    .send-button {
        width: 39px;
        height: 39px;
    }
}

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

@media (max-width: 340px) {

    .my-info strong {
        max-width: 115px;
    }

    .header-actions {
        gap: 0;
    }

    .header-actions button,
    .header-actions a {
        width: 32px;
        height: 32px;

        font-size: 18px;
    }

    .chat-actions button {
        width: 34px;
        height: 34px;
    }

    .composer-icon {
        width: 28px;

        font-size: 18px;
    }

    .mic-button,
    .send-button {
        width: 37px;
        height: 37px;
    }
}

/* =========================================================
   SAFE AREA
========================================================= */

@supports (padding: env(safe-area-inset-bottom)) {

    .message-form {
        padding-bottom:
            calc(8px + env(safe-area-inset-bottom));
    }
}

/* =========================================================
   ACCESSIBILITY / FOCUS
========================================================= */

button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 2px solid rgba(233,30,99,.55);

    outline-offset: 2px;
}

/* =========================================================
   NO SELECTION ON UI
========================================================= */

.chat-list-header,
.chat-header,
.chat-actions,
.header-actions,
.member-item,
.composer-icon,
.call-controls {
    user-select: none;
    -webkit-user-select: none;
}

/* =========================================================
   HIDDEN FILE INPUT
========================================================= */

#file {
    display: none !important;
}

/* =========================================================
   PREVENT IMAGE / VIDEO OVERFLOW
========================================================= */

img,
video {
    max-width: 100%;
}

/* =========================================================
   DARK CALL AREA
========================================================= */

.call-window::-webkit-scrollbar {
    width: 4px;
}

.call-window::-webkit-scrollbar-thumb {
    background: #555;

    border-radius: 10px;
}
/* =========================================================
   SECURECHAT LOGIN / REGISTER
   PREMIUM PINK MOBILE UI
========================================================= */

.auth-page {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    margin: 0;
    padding: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow-x: hidden;
    overflow-y: auto;

    background:
        radial-gradient(
            circle at top right,
            rgba(233, 30, 99, .18),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(255, 64, 129, .14),
            transparent 35%
        ),
        #fff5f8;

    -webkit-text-size-adjust: 100%;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;

    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;

    padding: 32px 24px 26px;

    background: rgba(255,255,255,.96);

    border: 1px solid rgba(233,30,99,.10);

    border-radius: 24px;

    box-shadow:
        0 15px 45px rgba(233,30,99,.15);

    text-align: center;
}

.auth-logo {
    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #ff4081,
            #e91e63
        );

    color: white;

    font-size: 34px;

    box-shadow:
        0 10px 25px rgba(233,30,99,.28);
}

.auth-card h1 {
    margin: 0;

    color: #351525;

    font-size: 29px;
    font-weight: 750;

    letter-spacing: -.5px;
}

.auth-subtitle {
    margin: 7px 0 25px;

    color: #8b6877;

    font-size: 14px;
}


/* ERROR */

.auth-error {
    margin-bottom: 15px;

    padding: 11px 13px;

    border-radius: 10px;

    background: #fff0f3;

    border: 1px solid #ffc5d3;

    color: #c2185b;

    font-size: 13px;

    text-align: left;
}


/* INPUT */

.auth-input {
    width: 100%;
    height: 52px;

    margin-bottom: 13px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 15px;

    border: 1px solid #ead5dd;

    border-radius: 14px;

    background: #fff;

    transition:
        border-color .2s,
        box-shadow .2s;
}

.auth-input:focus-within {
    border-color: #e91e63;

    box-shadow:
        0 0 0 3px rgba(233,30,99,.10);
}

.auth-input span {
    width: 22px;

    flex-shrink: 0;

    font-size: 17px;
}

.auth-input input {
    width: 100%;
    height: 100%;

    min-width: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #351525;

    font-size: 15px;
}

.auth-input input::placeholder {
    color: #a58d98;
}


/* LOGIN BUTTON */

.auth-button {
    width: 100%;
    height: 52px;

    margin-top: 5px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #ff4081,
            #e91e63
        );

    color: white;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(233,30,99,.25);

    transition:
        transform .15s,
        box-shadow .15s;
}

.auth-button:active {
    transform: scale(.98);

    box-shadow:
        0 5px 14px rgba(233,30,99,.20);
}


/* REGISTER LINK */

.auth-switch {
    margin-top: 22px;

    color: #806a75;

    font-size: 13px;

    line-height: 1.6;
}

.auth-switch a {
    color: #e91e63;

    font-weight: 700;

    text-decoration: none;
}

.auth-switch a:active {
    color: #c2185b;
}


/* SECURITY TEXT */

.auth-secure {
    margin-top: 20px;

    color: #a18d96;

    font-size: 11px;
}


/* MOBILE */

@media (max-width: 480px) {

    .auth-page {
        padding: 16px;
    }

    .auth-card {
        padding: 28px 19px 23px;

        border-radius: 22px;
    }

    .auth-logo {
        width: 68px;
        height: 68px;

        font-size: 30px;
    }

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

}


/* SMALL PHONE */

@media (max-width: 360px) {

    .auth-page {
        padding: 10px;
    }

    .auth-card {
        padding: 24px 15px 20px;
    }

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

    .auth-input,
    .auth-button {
        height: 50px;
    }

}


/* PREVENT ZOOM */

input,
button,
select,
textarea {
    font-size: 16px;
}

@media (min-width: 600px) {

    .auth-input input {
        font-size: 15px;
    }

}