/* ComputerG Signup — Purple/Lavender theme */
html, body { background: #f0eeff !important; }
#wrapwrap, #wrap { background: #f0eeff !important; padding-top: 0 !important; }

#cg-sg-wrap {
    min-height: 100vh;
    background: #f0eeff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 3% 2rem 3%;
    gap: 3rem;
    box-sizing: border-box;
    max-width: 1280px;
    margin: 0 auto;
}

/* LEFT */
#cg-sg-left {
    flex: 0 0 33%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
    padding: 0;
}

.cg-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,0.7);
    border: 0.5px solid #cecbf6;
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #534ab7;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}
.cg-badge-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #534ab7;
    flex-shrink: 0;
    animation: cgpulse 2s ease-in-out infinite;
}
@keyframes cgpulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.cg-headline {
    font-size: 34px;
    font-weight: 900;
    color: #1e1b4b;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: .6rem;
}
.cg-headline em { color: #534ab7; font-style: normal; }

.cg-sub {
    font-size: 12.5px;
    color: #9ca3af;
    line-height: 1.75;
    margin-bottom: 1.75rem;
    max-width: 360px;
}

.cg-props { display: flex; flex-direction: column; gap: 10px; }
.cg-prop {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #eeedfe;
    border-radius: 14px;
}
.cg-prop-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cg-prop-title { font-size: 13px; font-weight: 700; color: #26215c; line-height: 1.2; }
.cg-prop-sub { font-size: 11px; color: #b0aac8; }

.cg-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-top: 1.75rem;
}
.cg-stat-card {
    background: #fff;
    border: 1px solid #eeedfe;
    border-radius: 12px;
    padding: 12px 14px;
}
.cg-stat-n { font-size: 22px; font-weight: 900; line-height: 1; }
.cg-stat-l { font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: #b0aac8; margin-top: 4px; }

/* RIGHT */
#cg-sg-right {
    flex: 0 0 63%;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2deff;
    padding: 2rem 2rem 1.75rem;
    box-shadow: 0 4px 32px rgba(83,74,183,.07);
}

.cg-title { font-size: 22px; font-weight: 900; color: #1e1b4b; letter-spacing: -.5px; margin-bottom: 3px; }
.cg-subtitle { font-size: 12px; color: #b0aac8; margin-bottom: 1.25rem; }

/* Progress */
.cg-prog-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 1.4rem; }
.cg-prog-label { font-size: 10px; font-weight: 700; color: #534ab7; text-transform: uppercase; letter-spacing: .1em; flex-shrink: 0; min-width: 48px; }
.cg-prog-track { flex: 1; height: 3px; background: #eeedfe; border-radius: 2px; overflow: hidden; }
.cg-prog-fill { height: 100%; background: #534ab7; border-radius: 2px; transition: width .35s cubic-bezier(.4,0,.2,1); }
.cg-prog-count { font-size: 11px; color: #afa9ec; flex-shrink: 0; }

/* Steps */
.cg-step-title { font-size: 15px; font-weight: 800; color: #1e1b4b; margin-bottom: 2px; }
.cg-step-sub { font-size: 11.5px; color: #b0aac8; margin-bottom: 1.1rem; }

/* Tiles */
.cg-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 1rem; }
.cg-tcard {
    padding: 15px 10px;
    border: 1.5px solid #eeedfe;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    background: #faf9ff;
    transition: all .18s;
    user-select: none;
}
.cg-tcard:hover { border-color: #afa9ec; background: #f5f2ff; }
.cg-tcard.cg-sel { border-color: #534ab7; background: #eeedfe; box-shadow: 0 0 0 3px rgba(83,74,183,.1); }
.cg-tcard.cg-err { border-color: #e24b4a !important; }
.cg-tico { font-size: 20px; margin-bottom: 6px; }
.cg-ttitle { font-size: 12px; font-weight: 800; color: #26215c; }
.cg-tdesc { font-size: 10px; color: #b0aac8; margin-top: 2px; line-height: 1.3; }

/* Reseller subcards */
.cg-scard-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: .8rem; }
.cg-scard {
    padding: 11px 8px;
    border: 1.5px solid #eeedfe;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    background: #faf9ff;
    transition: all .15s;
}
.cg-scard:hover { border-color: #afa9ec; }
.cg-scard.cg-sel { border-color: #534ab7; background: #eeedfe; }
.cg-stitle { font-size: 11px; font-weight: 700; color: #26215c; }
.cg-sdesc { font-size: 10px; color: #b0aac8; margin-top: 2px; }

/* Form */
.cg-flabel {
    font-size: 12px;
    font-weight: 700;
    color: #534ab7;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 5px;
    display: block;
}
.cg-flabel-note { color: #b0aac8; text-transform: none; font-weight: 400; font-size: 11px; }
.cg-req { color: #e24b4a; }

.cg-input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #d9d5f5;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13.5px;
    background: #faf9ff;
    color: #1e1b4b;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    line-height: 1.4;
}
.cg-input:hover { border-color: #afa9ec; background: #f5f2ff; }
.cg-input:focus { border-color: #534ab7; background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(83,74,183,.12); }
.cg-input::placeholder { color: #c8c3e8; }

.cg-mb { margin-bottom: 10px; }

.cg-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }

.cg-phone-row { display: flex; gap: 8px; margin-bottom: 10px; }
.cg-phone-cc {
    width: 78px; flex-shrink: 0;
    border: 1.5px solid #d9d5f5; border-radius: 10px;
    padding: 9px 8px; font-size: 13px;
    background: #faf9ff; color: #1e1b4b; font-family: inherit;
}
.cg-phone-cc:hover { border-color: #afa9ec; }
.cg-phone-cc:focus { border-color: #534ab7; outline: none; box-shadow: 0 0 0 3px rgba(83,74,183,.12); }

.cg-viber-badge {
    background: #e1f5ee; color: #0f6e56;
    font-size: 9px; padding: 2px 7px;
    border-radius: 4px; margin-left: 6px;
    font-weight: 600; text-transform: none; letter-spacing: 0;
}

/* Password strength */
.cg-str-wrap { height: 3px; background: #eeedfe; border-radius: 2px; margin: 4px 0 3px; overflow: hidden; }
.cg-str-bar { height: 100%; width: 0; border-radius: 2px; transition: width .3s, background .3s; }
.cg-str-lbl { font-size: 10px; text-align: right; display: block; margin-bottom: 8px; }

/* Divider */
.cg-divider { border: none; border-top: 1px solid #eeedfe; margin: 12px 0; }

/* VAT row */
.cg-vat-row { display: flex; gap: 8px; margin-bottom: 4px; }
.cg-vat-field { flex: 1; }
.cg-vbtn {
    flex-shrink: 0;
    background: #534ab7; color: #fff; border: none;
    border-radius: 10px; padding: 0 14px;
    font-size: 12px; font-weight: 700; cursor: pointer;
    font-family: inherit; white-space: nowrap;
}
.cg-vbtn:hover { background: #3c3489; }
.cg-vbtn:disabled { opacity: .6; cursor: not-allowed; }

.cg-vres { background: #faf9ff; border: 1px solid #eeedfe; border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; font-size: 12px; display: none; }
.cg-vres.cg-show { display: block; }
.cg-vr-row { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.cg-vr-label { color: #b0aac8; font-size: 11px; }
.cg-vr-val { color: #26215c; font-weight: 600; font-size: 11px; }
.cg-vbadge { display: inline-flex; align-items: center; gap: 4px; background: #e1f5ee; color: #0f6e56; padding: 2px 8px; border-radius: 4px; font-size: 10px; font-weight: 700; }
.cg-vbadge-dot { width: 5px; height: 5px; border-radius: 50%; background: #0f6e56; }

.cg-warn-box { color: #e24b4a; font-size: 11px; margin-bottom: 6px; display: none; }
.cg-warn-box.cg-show { display: block; }

/* Buttons */
.cg-btn-primary {
    width: 100%;
    background: #534ab7; color: #fff; border: none;
    border-radius: 10px; padding: 12px;
    font-size: 13px; font-weight: 700;
    cursor: pointer; font-family: inherit;
    transition: all .2s;
    margin-top: 4px;
}
.cg-btn-primary:hover { background: #3c3489; box-shadow: 0 4px 18px rgba(83,74,183,.3); }
.cg-btn-primary:disabled { opacity: .6; cursor: not-allowed; }

.cg-btn-row { display: flex; gap: 8px; margin-top: 6px; }
.cg-btn-back {
    background: #faf9ff; color: #534ab7;
    border: 1.5px solid #eeedfe; border-radius: 10px;
    padding: 10px 16px; font-size: 12px; font-weight: 700;
    cursor: pointer; font-family: inherit; transition: all .2s; flex-shrink: 0;
}
.cg-btn-back:hover { border-color: #534ab7; }

.cg-signin { text-align: center; margin-top: 14px; font-size: 12px; color: #b0aac8; }
.cg-signin a { color: #534ab7; font-weight: 700; text-decoration: none; margin-left: 3px; }

/* Err */
.cg-err-msg { color: #e24b4a; font-size: 12px; margin-top: 6px; display: none; }

/* Pending */
.cg-pending-box {
    display: flex; align-items: flex-start; gap: 8px;
    background: #fef9ee; border: 1px solid #faeeda;
    border-radius: 10px; padding: 10px 12px; margin-bottom: 8px;
}
.cg-pdot2 { width: 7px; height: 7px; border-radius: 50%; background: #854f0b; flex-shrink: 0; margin-top: 3px; }
.cg-ptext { font-size: 11.5px; color: #854f0b; line-height: 1.6; }

/* Done icons */
.cg-icon-circle { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.cg-icon-blue { background: #eef4ff; border: 1.5px solid #b5d4f4; }
.cg-icon-green { background: #e6f7ef; }


/* File upload */
.cg-file-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.cg-file-btn {
    flex-shrink: 0;
    background: #faf9ff;
    border: 1.5px solid #d9d5f5;
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #534ab7;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    white-space: nowrap;
}
.cg-file-btn:hover { border-color: #534ab7; background: #f0eeff; }
.cg-file-name {
    font-size: 12px;
    color: #b0aac8;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cg-file-name.cg-has-file { color: #534ab7; font-weight: 600; }

/* Responsive */

    #cg-sg-left {
    flex: 0 0 33%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
    padding: 0;
}
    #cg-sg-right {
    flex: 0 0 63%;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2deff;
    padding: 2rem 2rem 1.75rem;
    box-shadow: 0 4px 32px rgba(83,74,183,.07);
}
}

.cg-upload-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.cg-upload-btn { display:inline-block; padding:8px 16px; background:#f0eeff; border:1px solid #c4b8f5; border-radius:8px; color:#534ab7; font-weight:700; font-size:13px; cursor:pointer; }
.cg-upload-btn:hover { background:#e2d9ff; }
.cg-upload-name { font-size:13px; color:#888; }

/* ── Account benefits box ── */
.cg-benefits-box {
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(83,74,183,0.15);
    border-radius: 14px;
    padding: 16px 18px;
    margin-top: 16px;
}
.cg-benefits-title {
    font-size: 11px;
    font-weight: 800;
    color: #1e1b4b;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 11px;
}
.cg-benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cg-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: #374151;
    line-height: 1.45;
}
.cg-b-icon {
    font-size: 14px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-top: 1px;
}

/* ── Dropzone upload ── */
.cg-dropzone{border:2px dashed #c4b8f5;border-radius:14px;padding:28px 20px;text-align:center;cursor:pointer;background:#faf9ff;transition:all .2s;margin-bottom:12px;}
.cg-dropzone:hover,.cg-dz-over{border-color:#534ab7;background:#f0eeff;}
.cg-dz-icon{font-size:36px;margin-bottom:10px;}
.cg-dz-main{font-size:14px;font-weight:700;color:#1e1b4b;margin-bottom:4px;}
.cg-dz-sub{font-size:13px;color:#6b7280;}
.cg-dz-link{color:#534ab7;font-weight:700;text-decoration:underline;}
.cg-dz-hint{font-size:11px;color:#9ca3af;margin-top:6px;text-transform:uppercase;letter-spacing:.05em;}
.cg-dz-file{margin-top:12px;padding:7px 14px;background:#eeedfe;border-radius:8px;font-size:13px;color:#534ab7;font-weight:600;}
/* ── Upload row (fallback) ── */
.cg-upload-row{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.cg-upload-btn{display:inline-flex;align-items:center;gap:6px;padding:9px 18px;background:#f0eeff;border:1.5px solid #c4b8f5;border-radius:10px;color:#534ab7;font-weight:700;font-size:13px;cursor:pointer;}
.cg-upload-name{font-size:13px;color:#9ca3af;font-style:italic;}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
    #cg-sg-wrap { flex-direction: column; padding: 0; gap: 0; min-height: 0; }
    #cg-sg-left { display: none; }
    #cg-sg-right { flex: 1 1 100%; max-width: 100%; border-radius: 0; min-height: 100vh; padding: 1.2rem 1rem 2rem; }
    .cg-type-grid { grid-template-columns: repeat(3,1fr); gap: 7px; }
    .cg-scard-grid { grid-template-columns: repeat(3,1fr); }
    .cg-2col { grid-template-columns: 1fr; }
    .cg-btn-row { flex-direction: column; }
    .cg-btn-back { width: 100%; }
    .cg-btn-submit { width: 100%; }
    .cg-vat-row { flex-direction: column; }
    .cg-vbtn { width: 100%; }
    .cg-phone-cc { width: 130px; }
}
@media (max-width: 480px) {
    .cg-tcard { padding: 10px 4px; }
    .cg-ticon { font-size: 22px; }
    .cg-ttitle { font-size: 11px; }
    .cg-tdesc { font-size: 9px; }
    .cg-title { font-size: 20px; }
}

/* ─── Phone login toggle (retail) ──────────────────────────── */
.cg-login-toggle { display:flex; gap:0; margin-bottom:16px; border:1.5px solid #c4b8f5; border-radius:10px; overflow:hidden; }
.cg-lt-btn { flex:1; padding:9px 12px; font-size:13px; font-weight:700; cursor:pointer; border:none; background:#faf9ff; color:#9ca3af; transition:all .2s; text-align:center; }
.cg-lt-btn.active { background:#534ab7; color:#fff; }
.cg-lt-btn:first-child { border-right:1.5px solid #c4b8f5; }
.cg-phone-login-row { display:none; margin-bottom:10px; }
.cg-phone-login-row.visible { display:flex; gap:8px; }
.cg-phone-login-cc { width:140px; flex-shrink:0; border:1.5px solid #e0dcf5; border-radius:10px; padding:10px 8px; font-size:13px; background:#faf9ff; color:#1e1b4b; font-family:inherit; }
.cg-phone-login-input { flex:1; }
.cg-phone-hint { font-size:11px; color:#b0aac8; margin-bottom:10px; display:none; }
.cg-phone-hint.visible { display:block; }
