* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

html {
    min-height: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: 100vh;
    height: var(--plugon-app-height, 100dvh);
    overflow: hidden;
    padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

.app-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 450px;
    min-height: 100%;
    height: var(--plugon-app-height, 100dvh);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

header {
    display: flex;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.logo-icon {
    background-color: #ff5700;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #000;
}

.logo-text span {
    color: #ff5700;
}

.content {
    padding: 20px 30px;
    flex-grow: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-titles {
    text-align: center;
    margin-bottom: 30px;
}

.header-titles h1 {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.header-titles p {
    font-size: 14px;
    color: #666;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: #f4f5f8;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: all 0.2s;
}

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

.input-group input:focus {
    background-color: #eaf1fb;
    border-color: transparent;
}

.btn-primary {
    width: 100%;
    background-color: #ff5700;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #e04c00;
}

.link-text {
    text-align: center;
    margin-top: 24px;
}

.link-text a {
    color: #ff5700;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.link-text a:hover {
    text-decoration: underline;
}

#register-section {
    display: none;
}

@supports (height: 100svh) {
    body,
    .app-container {
        height: var(--plugon-app-height, 100svh);
    }
}

@media (max-height: 740px), (max-width: 380px) {
    header {
        padding: 16px 20px;
    }

    .content {
        justify-content: flex-start;
        padding: 16px 24px 28px;
    }

    .header-titles {
        margin-bottom: 20px;
    }

    .input-group {
        margin-bottom: 14px;
    }
}
