* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root {
    --primary: #2aaec7;
    --primary-dark: #168ea5;
    --background: #05070d;
    --card: #10131c;
    --text: #ffffff;
    --muted: #a8afc0;
    --border: rgba(255, 255, 255, 0.10);
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;

    background:
        radial-gradient(circle at top, rgba(42, 174, 199, 0.25), transparent 35%),
        linear-gradient(135deg, #05070d, #0b0f1a);

    color: var(--text);
}


/* =========================================================
   HEADER
========================================================= */
.checkout-header {
    width: 100%;
    height: 64px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    background: linear-gradient(to bottom, rgba(11,15,26,0.85), rgba(11,15,26,0.45));
    transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.checkout-header.scrolled {
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.back-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: white;
    text-decoration: none;
    transition: 0.25s;
}

.back-btn:hover {
    background: rgba(255,255,255,0.18);
}

.checkout-header .logo img {
    height: 36px;
    width: auto;
}




.register-container {
    width: 100%;
    min-height: 100vh;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-card {
    width: 100%;
    max-width: 420px;
    background: rgba(16, 19, 28, 0.94);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 34px 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
}

.logo img {
    width: 210px;
    max-width: 85%;
    height: auto;
}

.register-title {
    text-align: center;
    margin-bottom: 28px;
}

.register-title h1 {
    font-size: 30px;
    margin-bottom: 8px;
}

.register-title p {
    color: var(--muted);
    font-size: 15px;
}

#registerForm {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #e9ecf5;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: 1px solid var(--border);
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-size: 16px;
}

.input-group input::placeholder {
    color: #747b8c;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(42, 174, 199, 0.15);
}

.password-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.password-box input {
    width: 100%;
    padding-right: 50px;
}


.privacy-text {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    margin-top: 10px;
}


.password-box button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #9da4b5;
    font-size: 18px;
    cursor: pointer;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    box-shadow: none;
}

.password-box button:hover {
    background: transparent;
    color: #ffffff;
    transform: translateY(-50%);
    box-shadow: none;
}

#registerForm > button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

#registerForm > button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(42, 174, 199, 0.28);
}

.login-text {
    margin-top: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

.login-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

.login-text a:hover {
    text-decoration: underline;
}

.alert {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
}

.alert.error {
    background: rgba(255, 65, 65, 0.13);
    border: 1px solid rgba(255, 65, 65, 0.25);
    color: #ffb6b6;
}

.alert.success {
    background: rgba(42, 174, 199, 0.13);
    border: 1px solid rgba(42, 174, 199, 0.25);
    color: #9cecff;
}



/* =========================================================
   FOOTER
========================================================= */

.browse-footer{
    padding: 20px 4% 20px;

    background: rgba(255,255,255,0.02);

    border-top: 1px solid rgba(255,255,255,0.08);

    text-align: center;
}

.footer-logo{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 18px;
}

.footer-links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;

    margin-bottom: 13px;
}

.footer-links a{
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;

    transition: color 0.2s ease;
}

.footer-links a:hover{
    color: var(--primary);
}

.browse-footer p{
    color: var(--muted);
    font-size: 14px;
}


.footer-social{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin-bottom: 22px;
}

.footer-social a{
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background:
        rgba(255,255,255,0.06);

    border:
        1px solid rgba(255,255,255,0.08);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    color: white;
    text-decoration: none;

    font-size: 22px;

    transition:
        transform .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        color .25s ease;
}

.footer-social a:hover{

    transform:
        translateY(-2px)
        scale(1.05);

    background:
        rgba(255,255,255,0.12);

    box-shadow:
        0 10px 30px rgba(0,183,255,0.18);

    color: #00b7ff;
}


@media (max-width: 480px) {

    body {
        min-height: 100dvh;
        height: auto;
        overflow-y: auto;
    }

    .register-container {
        min-height: 100dvh;
        height: auto;
        padding: 12px;
        align-items: flex-start;
    }

    .register-card {
        margin: 12px 0;
        padding: 22px 18px;
        max-height: none;
        overflow: visible;
    }

    .logo {
        margin-bottom: 14px;
    }

    .logo img {
        width: 150px;
    }

    .register-title {
        margin-bottom: 18px;
    }

    .register-title h1 {
        font-size: 24px;
    }

    .register-title p {
        font-size: 14px;
    }

    #registerForm {
        gap: 12px;
    }

    .input-group {
        gap: 6px;
    }

    .input-group input {
        padding: 13px;
        font-size: 16px;
    }

    .login-text {
        margin-top: 16px;
    }
}