/* Palette: Midnight Velvet & Steel Blue */

:root {
    --primary-navy: #0d2e4f;
    --accent-blue: #045082;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
}

body.pg-body {
    background: linear-gradient(135deg, rgba(13, 46, 79, 0.8) 0%, rgba(5, 78, 112, 0) 0%), url('../../images/supplierclient.png') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Inter', -apple-system, sans-serif;
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(35px) saturate(150%);
    -webkit-backdrop-filter: blur(35px) saturate(150%);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 50px 45px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.56);
    text-align: center;
    color: var(--text-main);
}

.badge-header {
    background: rgba(32, 113, 220, 0.15);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 30px;
    display: inline-block;
    letter-spacing: 1.5px;
    margin-top: 25px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
}

.main-title {
    font-weight: 900;
    font-size: 54px;
    letter-spacing: -1px;
    margin: 0;
}

.main-title span {
    color: var(--accent-blue);
    font-weight: 400;
}

.sub-title {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    margin-bottom: 35px;
}


/* Role Selectors */

.role-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.role-card {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 15px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-card.active {
    background: #fff;
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.role-card i {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dim);
}

.role-card.active i {
    color: var(--primary-navy);
}

.role-card strong {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.role-card.active strong {
    color: var(--primary-navy);
}

.role-card small {
    font-size: 8px;
    opacity: 0.6;
}

.role-card.active small {
    color: #5b7386;
    opacity: 1;
}


/* Formal Inputs - NO BLUE BORDER */

.formal-label {
    font-size: 9px;
    font-weight: 800;
    color: var(--text-dim);
    text-align: left;
    margin: 0 0 5px 12px;
    letter-spacing: 0.5px;
}

.formal-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: 600;
}

.formal-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.btn-pg-primary {
    background: var(--primary-navy);
    color: #fff;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 12px;
    transition: 0.3s;
}

.btn-pg-primary:hover {
    background: #000;
    transform: translateY(-2px);
}

.footer-copy {
    color: var(--text-dim);
    font-size: 9px;
    margin-top: 35px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    font-weight: 700;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.role-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.role-card {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 15px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-card.active {
    background: #fff;
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.role-card i {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dim);
}

.role-card.active i {
    color: var(--primary-navy);
}

.role-card strong {
    display: block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.role-card.active strong {
    color: var(--primary-navy);
}

.role-card small {
    font-size: 8px;
    opacity: 0.6;
}

.role-card.active small {
    color: #5b7386;
    opacity: 1;
}


/* Formal Inputs - NO BLUE BORDER */

.formal-label {
    font-size: 9px;
    font-weight: 800;
    color: var(--text-dim);
    text-align: left;
    margin: 0 0 5px 12px;
    letter-spacing: 0.5px;
}

.formal-input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    margin-bottom: 15px;
    font-weight: 600;
}

.formal-input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.btn-pg-primary {
    background: var(--primary-navy);
    color: #fff;
    border: none;
    width: 100%;
    padding: 15px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 12px;
    transition: 0.3s;
}

.btn-pg-primary:hover {
    background: #000;
    transform: translateY(-2px);
}

.footer-copy {
    color: var(--text-dim);
    font-size: 9px;
    margin-top: 35px;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
    font-weight: 700;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}


/* --- PROGRESS STEPS (FIGMA MATCH) --- */

.pg-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.pg-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pg-step.active {
    color: #fff;
}

.pg-step .num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
}

.pg-step.active .num {
    background: var(--primary-navy);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.pg-step.done .num {
    background: #27ae60;
    color: white;
}

.line {
    flex-grow: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px;
}

.line.done {
    background: #27ae60;
}


/* --- BLUE INTELLIGENCE NOTE (FIGMA MATCH) --- */

.pg-info-box {
    background: rgba(52, 152, 219, 0.12);
    /* Desaturated blue tint */
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    font-size: 10.5px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.pg-info-box i {
    color: #3498db;
    font-size: 14px;
}


/* --- CONTAINER OVERRIDE FOR REGISTRATION --- */


/* We make the glass card wider for the 4-step layout */

.glass-card-wide {
    max-width: 650px !important;
}


/* --- REMOVE BLUE FOCUS RING --- */

.formal-input:focus,
.form-select:focus,
.btn:focus,
textarea:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}


/* Figma Dashed Upload Box */

.upload-dashed-box {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: 0.3s;
}

.upload-dashed-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}


/* Checkbox styling */

.form-check-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-check-input:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}