/* ==========================================================================
   NeonAdda Orders - Polished Login & Register Stylesheet
   Modern, Glitch-Free, Fully Responsive Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html,
body {
    user-select: none;
    display: flex;
    min-height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #2e0e12 0%, #100607 60%, #050203 100%);
    user-select: none;
    padding: 16px;
    overflow-x: hidden;
}

::selection {
    background: #ff416c;
    color: #fff;
}

.wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    background: #181214;
    border: 1px solid rgba(255, 65, 108, 0.2);
    padding: 32px 28px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 65, 108, 0.15);
}

.wrapper .title-text {
    display: flex;
    width: 200%;
    margin-bottom: 8px;
}

.wrapper .title {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .slide-controls {
    position: relative;
    display: flex;
    height: 46px;
    width: 100%;
    overflow: hidden;
    margin: 18px 0;
    justify-content: space-between;
    border: 1px solid rgba(255, 65, 108, 0.3);
    border-radius: 12px;
    background: #23191c;
}

.slide-controls .slide {
    height: 100%;
    width: 100%;
    color: #a09095;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 46px;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

.slide-controls .slider-tab {
    position: absolute;
    height: 100%;
    width: 50%;
    left: 0;
    z-index: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #ff416c, #a72e33);
    box-shadow: 0 2px 10px rgba(255, 65, 108, 0.4);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

input[type="radio"] {
    display: none;
}

#signup:checked ~ .slider-tab {
    left: 50%;
}

#signup:checked ~ label.signup {
    color: #fff;
    cursor: default;
}

#signup:checked ~ label.login {
    color: #a09095;
}

#login:checked ~ label.signup {
    color: #a09095;
}

#login:checked ~ label.login {
    color: #fff;
    cursor: default;
}

.wrapper .form-container {
    width: 100%;
    overflow: hidden;
}

.form-container .form-inner {
    display: flex;
    width: 200%;
}

.form-container .form-inner form {
    width: 50%;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-inner form .field {
    height: 48px;
    width: 100%;
    margin-top: 14px;
}

.form-inner form .field input,
.form-inner form .field select,
.form-inner form select.field {
    height: 100%;
    width: 100%;
    outline: none;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    transition: all 0.25s ease;
    background-color: #23191c;
    color: #fff;
    cursor: pointer;
}

.form-inner form .field select option {
    background-color: #181214;
    color: #fff;
}

.form-inner form .field input:focus,
.form-inner form .field select:focus,
.form-inner form select.field:focus {
    border-color: #ff416c;
    box-shadow: 0 0 10px rgba(255, 65, 108, 0.3);
}

.form-inner form .field input::placeholder {
    color: #8a7a80;
}

.form-inner form .pass-link {
    margin-top: 10px;
    font-size: 12px;
    text-align: center;
    line-height: 18px;
    color: #a09095;
}

.form-inner form .signup-link {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #a09095;
}

.form-inner form .pass-link a,
.form-inner form .signup-link a {
    color: #ff416c;
    text-decoration: none;
    font-weight: 500;
}

.form-inner form .pass-link a:hover,
.form-inner form .signup-link a:hover {
    text-decoration: underline;
}

form .btn {
    height: 48px;
    width: 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-top: 18px;
}

form .btn .btn-layer {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(135deg, #ff416c, #a72e33);
    border-radius: 10px;
    transition: all 0.3s ease;
}

form .btn:hover .btn-layer {
    filter: brightness(1.15);
    box-shadow: 0 0 15px rgba(255, 65, 108, 0.4);
}

form .btn input[type="submit"] {
    height: 100%;
    width: 100%;
    z-index: 1;
    position: relative;
    background: none;
    border: none;
    color: #fff;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
}

@media (max-width: 480px) {
    .wrapper {
        padding: 24px 18px;
        border-radius: 16px;
    }
}

/* Developer credit under the form */
.login-credits {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 11px;
    line-height: 17px;
    color: #8a7a80;
}

.login-credits img {
    height: 24px;
    width: auto;
    margin-bottom: 6px;
}

.login-credits a {
    color: #ff416c;
    text-decoration: none;
}

.login-credits a:hover {
    text-decoration: underline;
}
