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

.complete-profile-page {
    padding: 40px 15px;
    /* background: #f7f7f8; */
    min-height: 100%;
}

.complete-profile-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 36px 40px 40px;
    max-width: 720px;
    margin: 0 auto;
    font-family: 'Rubik', sans-serif;
}

/* ---- Header ---- */
.complete-profile-card .title-with-seprator {
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ececec;
}

.complete-profile-card .title-with-seprator h4 {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 8px;
}

.complete-profile-card .title-with-seprator p {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #9a9a9a;
    margin: 0;
}

/* ---- Field rows ---- */
.cp-row-two-col {
    display: flex;
    gap: 24px;
    margin-bottom: 22px;
}

.cp-row-single {
    margin-bottom: 22px;
}

.cp-row-grid {
    margin-bottom: 22px;
}

.cp-field {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cp-label {
    font-size: 13px;
    font-weight: 600;
    color: #9a9a9a;
    margin-bottom: 8px;
}

/* ---- Inputs & selects ---- */
.complete-profile-card .form-control {
    height: 46px;
    padding: 8px 14px;
    font-size: 14px;
    color: #333;
    border: 1px solid #dcdce0;
    border-radius: 8px;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.complete-profile-card .form-control::placeholder {
    color: #b3b3b3;
}

.complete-profile-card .form-control:focus {
    border-color: #ed1c24;
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
    outline: none;
}

.complete-profile-card .form-control:disabled,
.complete-profile-card .form-control[disabled] {
    background: #f4f4f5;
    color: #8a8a8a;
    cursor: not-allowed;
}

/* Custom select arrow */
.complete-profile-card select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'12'%20height%3D'8'%20viewBox%3D'0%200%2012%208'%3E%3Cpath%20fill%3D'%23888'%20d%3D'M6%208L0%200h12z'%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ---- Phone number with country prefix ---- */
.cp-phone-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.cp-phone-prefix {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #dcdce0;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.cp-phone-prefix .cp-flag {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    display: block;
}

.cp-phone-wrap .form-control {
    flex: 1;
    min-width: 0;
}

/* ---- Re-enter email match check (circular badge) ---- */
.cp-input-wrap {
    position: relative;
}

.cp-input-wrap .form-control {
    padding-right: 44px;
}

.cp-email-check {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2f80ed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cp-email-check .glyphicon-ok {
    color: #fff;
    font-size: 11px;
    top: 0;
}

/* ---- Validation errors ---- */
.cp-error {
    color: #e02020;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.complete-profile-card .form-control.ng-invalid.ng-touched {
    border-color: #e02020;
}

/* ---- Actions ---- */
.complete-profile-actions {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #ececec;
    display: flex;
    align-items: center;
    gap: 14px;
}

.complete-profile-actions .btn {
    min-width: 130px;
    height: 44px;
    border-radius: 24px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 0 26px;
    transition: all 0.15s ease;
}

.complete-profile-actions .btn-hover-ooredoo {
    border: 1px solid #ed1c24;
    color: #ed1c24;
    background: #fff;
}

.complete-profile-actions .btn-hover-ooredoo:hover:not([disabled]) {
    background: #ed1c24;
    color: #fff;
}

.complete-profile-actions .btn-hover-ooredoo[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.complete-profile-skip-btn {
    background: #f2f2f3;
    color: #666;
    border: 1px solid #e2e2e4;
}

.complete-profile-skip-btn:hover {
    background: #e7e7e9;
    color: #333;
}

.complete-profile-skip-hint,
.complete-profile-skip-done {
    font-family: 'Rubik', sans-serif;
    font-size: 13px;
    color: #9a9a9a;
    margin-left: auto;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .complete-profile-page {
        padding: 20px 12px;
    }

    .complete-profile-card {
        padding: 24px 18px 28px;
    }

    .cp-row-two-col {
        flex-direction: column;
        gap: 0;
    }

    .cp-row-two-col > .cp-field {
        margin-bottom: 18px;
    }

    .cp-row-two-col > .cp-field:last-child {
        margin-bottom: 0;
    }

    .complete-profile-actions {
        flex-wrap: wrap;
    }

    .complete-profile-actions .btn {
        flex: 1;
    }
}
