:root {
    --bg: #050505;
    --bg-soft: #111111;
    --card: #171717;
    --border: #2b2b2b;

    --text: #f3f3f3;
    --text-soft: #b8bcc3;
    --muted: #858b94;

    --primary: #e5e7eb;
    --primary-dark: #9ca3af;

    --error-bg: #3b1111;
    --error-text: #fecaca;

    --ok-bg: #102f1c;
    --ok-text: #bbf7d0;

    --radius: 18px;
    --shadow: 0 20px 60px rgba(0,0,0,.35);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Quicksand', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}


.bp-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.bp-header-inner {
    max-width: 1180px;
    margin: 0 auto;

    height: 82px;

    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bp-brand {
    display: flex;
    align-items: center;
    gap: 14px;

    color: #f5f5f5;
    text-decoration: none;

    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.bp-logo {
    width: 54px;
    height: 54px;

    object-fit: contain;
    display: block;
}

.bp-dot {
    color: #b8bcc3;
}

.bp-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.bp-nav a {
    color: #d7d7d7;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.bp-nav a:hover,
.bp-nav a.active {
    color: #ffffff;
}

.bp-btn-ghost,
.bp-btn-main,
.bp-btn-secondary {
    padding: 11px 18px;
    border-radius: 12px;
}

.bp-btn-ghost {
    border: 1px solid rgba(255,255,255,0.35);
}

.bp-btn-main {
    background: linear-gradient(135deg, #f1f3f6, #9ca3af);
    color: #050505 !important;
    font-weight: 700 !important;
}

.bp-btn-secondary {
    background: #222;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Responsive, perquè els mòbils segueixen existint sense demanar permís */
@media (max-width: 760px) {
    .bp-header-inner {
        height: auto;
        min-height: 76px;

        padding: 14px 18px;

        flex-direction: column;
        align-items: flex-start;
    }

    .bp-brand {
        font-size: 24px;
    }

    .bp-logo {
        width: 46px;
        height: 46px;
    }

    .bp-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        gap: 12px;
    }

    .bp-nav a {
        white-space: nowrap;
        font-size: 14px;
    }
}

.bp-site-footer {
    margin-top: 60px;
    background: #050505;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #b8bcc3;
}

.bp-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.bp-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #f5f5f5;
    font-size: 22px;
    font-weight: 800;
}

.bp-footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.bp-footer-brand span span {
    color: #9ca3af;
}

.bp-footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.bp-footer-links a {
    color: #c7c7c7;
    text-decoration: none;
    font-size: 14px;
}

.bp-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.bp-footer-copy {
    font-size: 13px;
    color: #8f949d;
}

@media (max-width: 760px) {
    .bp-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .bp-footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #1f2933;
}

.ds-login-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.ds-login-hero {
    flex: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: linear-gradient(135deg, #ffffff 0%, #eef3f7 100%);
}

.ds-login-hero-content {
    max-width: 620px;
}

.ds-login-image {
    width: 100%;
    max-width: 520px;
    display: block;
    margin-bottom: 32px;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
}

.ds-login-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    color: #111827;
}

.ds-login-hero p {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #52606d;
}

.ds-login-panel {
    width: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: #ffffff;
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.08);
}

.ds-login-card {
    width: 100%;
    max-width: 360px;
}

.ds-login-card h2 {
    margin: 0 0 28px;
    font-size: 28px;
    color: #111827;
}

.ds-login-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.ds-login-card input {
    width: 100%;
    height: 48px;
    margin-bottom: 18px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ds-login-card input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.ds-login-card button {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    border: 0;
    border-radius: 16px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
}

.ds-login-card button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.ds-register-link {
    margin-top: 22px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.ds-register-link a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.ds-register-link a:hover {
    text-decoration: underline;
}

.ds-login-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 14px;
}

/* Responsive, perquè els mòbils existeixen i insisteixen */
@media (max-width: 850px) {
    .ds-login-page {
        flex-direction: column;
    }

    .ds-login-hero {
        padding: 32px 22px;
        text-align: center;
    }

    .ds-login-image {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
        border-radius: 22px;
    }

    .ds-login-panel {
        width: 100%;
        padding: 28px 22px 40px;
        box-shadow: 0 -12px 40px rgba(15, 23, 42, 0.08);
    }

    .ds-login-card {
        max-width: 420px;
    }
}
.bp-page{

    max-width:1100px;

    margin:50px auto;

    padding:40px;

    background:#151515;

    border:1px solid #2b2b2b;

    border-radius:18px;

    color:#ddd;

}

.bp-page h1{

    margin-top:0;

    color:white;

}

.bp-page h2{

    margin-top:40px;

    color:#f5f5f5;

}

.bp-page p{

    line-height:1.9;

    color:#bbb;

}
body{

    margin:0;
    background:#f3f5f8;
    font-family:Arial,Helvetica,sans-serif;

}

.ds-register-container{

    display:flex;
    justify-content:center;
    align-items:center;

    min-height:100vh;

    padding:40px;

}

.ds-register-card{

    width:100%;
    max-width:500px;

    background:white;

    padding:40px;

    border-radius:18px;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

}

.ds-register-card h1{

    margin-top:0;

}

.subtitle{

    color:#666;
    margin-bottom:30px;

}

label{

    display:block;
    margin-top:18px;
    margin-bottom:8px;

    font-weight:bold;

}

input,
select{

    width:100%;

    height:46px;

    padding:0 12px;

    border:1px solid #d0d5dd;

    border-radius:10px;

    font-size:15px;

}

button{

    width:100%;

    margin-top:35px;

    height:50px;

    border:none;

    border-radius:12px;

    background:#2563eb;

    color:white;

    font-size:16px;

    cursor:pointer;

}

button:hover{

    background:#1d4ed8;

}

.login-link{

    text-align:center;

    margin-top:25px;

}

.login-link a{

    text-decoration:none;
    color:#2563eb;
    font-weight:bold;

}
.notice {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.notice.ok {
    background: #dcfce7;
    color: #166534;
}

.notice.error {
    background: #fee2e2;
    color: #991b1b;
}

.check {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    font-weight: normal;
}

.check input {
    width: auto;
    height: auto;
}