@font-face {
  font-family: 'ElmsSans';
  src: url('../components/fonts/ElmsSans.ttf') format('truetype');
}

@font-face {
  font-family: 'IntelOneMono';
  src: url('../components/fonts/IntelOneMono.ttf') format('truetype');
}

:root {
    --bg-body: #13151c;
    --bg-card: #1e293b;
    --bg-nav: #181a22;
    --btn-nav-hover: #1f222c;
    --btn-nav-border: #2b313a;
    --btn-section-hover: #1d202a;
    --btn-section-border: #242732;
    --accent-primary: #2bbd8c;
    --accent-primary-hover: #75eec6;
    --accent-sale: #f43f5e;
    --accent-border: #1d2127;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

body {
    margin: 0;
    background-color: var(--bg-body);
    color: var(--text-main);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    font-family: 'IntelOneMono';
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;

    .box {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        border-radius: 18px;
        width: 350px;
        padding: 24px;
        background-color: var(--bg-nav);
        border: 1px solid var(--btn-nav-border);

        .form {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .tabs {
            display: flex;
            width: 100%;
            margin-bottom: 20px;
            border-bottom: 1px solid var(--btn-nav-border);
        }

        .tab {
            all: unset;
            flex: 1;
            text-align: center;
            padding: 10px 0;
            font-family: sans-serif;
            font-size: 0.75rem;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--text-muted);
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: color 0.2s ease-in-out;
        }

        .tab.active { color: var(--accent-primary); border-bottom: 2px solid var(--accent-primary); }
        .tab:hover:not(.active) { color: var(--text-main); }

        .list {
            display: flex;
            flex-direction: column;
            gap: 14px;
            width: 100%;

            .inp {
                width: 100%;
                margin-bottom: 12px;

                input {
                    all: unset;
                    height: 36px;
                    width: 100%;
                    border-radius: 8px;
                    padding: 6px;
                    margin-top: 8px;
                    box-sizing: border-box;
                    min-width: 0;
                    background-color: var(--btn-section-border);
                    border: 1px solid var(--btn-nav-border);
                }
            }
        }

        .util {
            display: flex;
            justify-content: space-between;
            width: 100%;
        }

        input[type="submit"] {
            margin-top: 12px;
            border-radius: 8px;
            height: 36px;
            width: 100%;
            cursor: pointer;
            background-color: var(--accent-primary);
            border: var(--accent-border);
            color: var(--text-main);
            font-weight: bold;
            transition: all 0.2s ease-in-out;
        }

        input[type="submit"]:hover {
            background-color: var(--accent-primary-hover);
        }
        
        .msg {
            width: 100%;
            text-align: center;
            font-family: sans-serif;
            font-size: 0.85rem;
            margin: 0 0 15px 0;
            min-height: 15px;
        }

        .forgot{
            color: white;
            font-variant: normal;
            cursor: pointer;
            font-size: 12px;
            margin-bottom: 12px;
            text-decoration: none;
        }
    }
}

.hidden { display: none !important; }