/* =========================================
   MYRECORDINGSTUDIO
   AUTHENTICATION STYLESHEET
   ========================================= */


/* GLOBAL */

* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
}


body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

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

    background: #f5f7fa;

    color: #1f2937;
}


/* =========================================
   AUTH PAGE
   ========================================= */

.auth-page {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px 20px;
}


/* =========================================
   AUTH CARD
   ========================================= */

.auth-card {

    width: 100%;

    max-width: 440px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    box-shadow:
        0 10px 30px rgba(
            0,
            0,
            0,
            0.06
        );

    overflow: hidden;
}


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

.auth-brand {

    padding: 32px 32px 26px;

    text-align: center;

    background: #f8fafc;

    border-bottom: 1px solid #e5e7eb;
}


.auth-logo {

    width: 54px;

    height: 54px;

    margin: 0 auto 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eff6ff;

    border: 1px solid #bfdbfe;

    border-radius: 14px;

    font-size: 26px;
}


.auth-brand h1 {

    margin: 0;

    color: #111827;

    font-size: 25px;

    font-weight: 700;
}


.auth-brand p {

    margin: 6px 0 0;

    color: #6b7280;

    font-size: 13px;
}


/* =========================================
   AUTH CONTENT
   ========================================= */

.auth-content {

    padding: 32px;
}


.auth-content h2 {

    margin: 0;

    color: #111827;

    font-size: 24px;

    font-weight: 700;

    text-align: center;
}


.auth-subtitle {

    margin: 7px 0 26px;

    color: #6b7280;

    font-size: 14px;

    line-height: 1.5;

    text-align: center;
}


/* =========================================
   ERROR MESSAGE
   ========================================= */

.auth-error {

    margin-bottom: 20px;

    padding: 12px 14px;

    background: #fef2f2;

    color: #b91c1c;

    border: 1px solid #fecaca;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 500;

    line-height: 1.5;
}


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

.auth-form {

    padding: 0;

    background: transparent;

    border: 0;

    border-radius: 0;

    box-shadow: none;
}


.auth-field {

    margin-bottom: 18px;
}


.auth-field label {

    display: block;

    margin-bottom: 7px;

    color: #374151;

    font-size: 14px;

    font-weight: 600;
}


.auth-field input {

    width: 100%;

    padding: 12px 13px;

    background: #ffffff;

    border: 1px solid #d1d5db;

    border-radius: 8px;

    color: #111827;

    font-family: inherit;

    font-size: 15px;

    outline: none;

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


.auth-field input::placeholder {

    color: #9ca3af;
}


.auth-field input:focus {

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(
            37,
            99,
            235,
            0.12
        );
}


/* =========================================
   LOGIN BUTTON
   ========================================= */

.auth-button {

    width: 100%;

    margin-top: 4px;

    padding: 12px 18px;

    background: #2563eb;

    color: #ffffff;

    border: 0;

    border-radius: 8px;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        transform 0.1s ease,
        box-shadow 0.2s ease;
}


.auth-button:hover {

    background: #1d4ed8;

    box-shadow:
        0 5px 12px rgba(
            37,
            99,
            235,
            0.2
        );
}


.auth-button:active {

    transform:
        translateY(1px);
}


/* =========================================
   REGISTER LINK
   ========================================= */

.auth-register {

    margin-top: 24px;

    padding-top: 22px;

    border-top: 1px solid #e5e7eb;

    text-align: center;

    font-size: 14px;

    color: #6b7280;
}


.auth-register a {

    margin-left: 4px;

    color: #2563eb;

    font-weight: 600;

    text-decoration: none;
}


.auth-register a:hover {

    color: #1d4ed8;

    text-decoration: underline;
}


/* =========================================
   FOOTER
   ========================================= */

.auth-footer {

    margin: 18px 0 0;

    color: #9ca3af;

    font-size: 12px;

    text-align: center;
}


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

@media (max-width: 480px) {

    .auth-page {

        padding: 24px 14px;
    }


    .auth-card {

        border-radius: 14px;
    }


    .auth-brand {

        padding: 26px 22px 22px;
    }


    .auth-brand h1 {

        font-size: 22px;
    }


    .auth-content {

        padding: 26px 22px;
    }


    .auth-content h2 {

        font-size: 22px;
    }

}