/**
 * RL PrepAid Manager - Activation Page Styles
 * Brand Colors: #B3157F (Primary), #8B1166 (Secondary)
 */

/* RTL Support & Base */
.rlpm-activation-wrapper {
    direction: rtl;
    text-align: right;
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    background: transparent;
    padding: 40px 20px 60px;
    display: block;
    position: relative;
}

.rlpm-activation-wrapper * {
    box-sizing: border-box;
}

/* Container */
.rlpm-activation-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
}

/* Header */
.rlpm-activation-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 10px;
}

.rlpm-brand-logo {
    margin-bottom: 25px;
}

.rlpm-brand-logo img {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(179, 21, 127, 0.2));
}

.rlpm-activation-header h1 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    background: linear-gradient(135deg, #B3157F 0%, #8B1166 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rlpm-subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 15px;
    font-weight: 400;
}

/* Steps Indicator */
.rlpm-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rlpm-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border-radius: 25px;
    font-size: 14px;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.rlpm-step.active {
    background: linear-gradient(135deg, #B3157F 0%, #8B1166 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(179, 21, 127, 0.35);
}

.rlpm-step-number {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #6b7280;
}

.rlpm-step.active .rlpm-step-number {
    background: rgba(255,255,255,0.3);
    color: #fff;
}

/* Form Card */
.rlpm-activation-form {
    background: #fff;
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.07),
        0 10px 40px -5px rgba(179, 21, 127, 0.12),
        0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(179, 21, 127, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.rlpm-activation-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #B3157F 0%, #8B1166 50%, #B3157F 100%);
}

/* Form Groups */
.rlpm-form-group {
    margin-bottom: 22px;
}

.rlpm-form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.label-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B3157F;
}

.label-icon svg {
    width: 18px;
    height: 18px;
}

/* Input Fields */
.rlpm-form-group input[type="text"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    direction: ltr;
    text-align: left;
    background: #fafafa;
}

.rlpm-form-group input[type="text"]:hover {
    border-color: #d1d5db;
    background: #fff;
}

.rlpm-form-group input[type="text"]:focus {
    outline: none;
    border-color: #B3157F;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(179, 21, 127, 0.1);
}

.rlpm-form-group input[type="text"]::placeholder {
    color: #9ca3af;
}

/* ICC Input */
.rlpm-icc-input-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background: #fafafa;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rlpm-icc-input-wrapper:hover {
    border-color: #d1d5db;
    background: #fff;
}

.rlpm-icc-input-wrapper:focus-within {
    border-color: #B3157F;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(179, 21, 127, 0.1);
}

.icc-prefix {
    padding: 14px 12px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: #6b7280;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    white-space: nowrap;
    direction: ltr;
    border-right: 1px solid #e5e7eb;
    font-weight: 500;
    order: -1;
}

.rlpm-icc-input-wrapper input {
    border: none !important;
    background: transparent !important;
    flex: 1;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 18px;
    letter-spacing: 3px;
    box-shadow: none !important;
    padding: 14px 16px;
    font-weight: 600;
    color: #1f2937;
    direction: ltr;
    text-align: right;
}

.rlpm-icc-input-wrapper input:focus {
    outline: none;
}

.rlpm-help-text {
    margin: 10px 0 0;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rlpm-help-text svg {
    width: 14px;
    height: 14px;
    color: #B3157F;
}

/* Submit Button */
.rlpm-submit-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #B3157F 0%, #8B1166 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rlpm-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.rlpm-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 21, 127, 0.35);
}

.rlpm-submit-btn:hover::before {
    left: 100%;
}

.rlpm-submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Loading State */
.rlpm-loading {
    text-align: center;
    padding: 50px 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(179, 21, 127, 0.1);
}

.rlpm-spinner-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
}

.rlpm-spinner {
    width: 100%;
    height: 100%;
    border: 4px solid #fce7f3;
    border-top-color: #B3157F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.rlpm-spinner-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.9); }
}

.rlpm-loading h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1f2937;
    font-weight: 600;
}

.rlpm-loading p {
    color: #6b7280;
    font-size: 14px;
    margin: 0;
}

/* Result States */
.rlpm-result {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
}

.rlpm-success .result-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.rlpm-error .result-icon {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
}

.rlpm-result h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #1f2937;
    font-weight: 700;
}

.result-message {
    color: #6b7280;
    margin-bottom: 20px;
    font-size: 15px;
}

.rlpm-success {
    border: 2px solid #10b981;
}

.rlpm-error {
    border: 2px solid #ef4444;
}

/* Result Details */
.result-details {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #bbf7d0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.detail-label {
    color: #6b7280;
    font-size: 14px;
}

.detail-value {
    font-weight: 700;
    font-size: 22px;
    color: #059669;
    direction: ltr;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    letter-spacing: 1px;
}

.rlpm-info {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    color: #831843;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #fbcfe8;
}

.rlpm-info svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Retry Button */
.rlpm-retry-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, #B3157F 0%, #8B1166 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.rlpm-retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 21, 127, 0.3);
}

/* Help Section */
.rlpm-help-section {
    margin-top: 25px;
    padding: 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #f3f4f6;
}

.rlpm-help-section h3 {
    margin: 0 0 15px;
    font-size: 15px;
    color: #374151;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rlpm-help-section h3 svg {
    width: 18px;
    height: 18px;
    color: #B3157F;
}

.help-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.help-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #fafafa;
    border-radius: 12px;
    font-size: 13px;
    color: #4b5563;
    transition: all 0.2s ease;
}

.help-item:hover {
    background: #f3f4f6;
}

.help-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-icon svg {
    width: 16px;
    height: 16px;
    color: #B3157F;
}

/* Footer */
.rlpm-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.rlpm-footer p {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
}

/* Responsive */
@media screen and (max-width: 520px) {
    .rlpm-activation-wrapper {
        padding: 15px 0;
    }
    
    .rlpm-activation-container {
        padding: 0 15px;
    }
    
    .rlpm-activation-form {
        padding: 24px 20px;
        border-radius: 20px;
    }
    
    .rlpm-brand-logo img {
        max-width: 140px;
    }
    
    .rlpm-activation-header h1 {
        font-size: 22px;
    }
    
    .rlpm-steps {
        flex-wrap: wrap;
    }
    
    .rlpm-step {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .icc-prefix {
        font-size: 11px;
        padding: 12px 8px;
    }
    
    .rlpm-icc-input-wrapper input {
        font-size: 16px;
        letter-spacing: 2px;
        padding: 12px;
    }
    
    .rlpm-submit-btn {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .detail-value {
        font-size: 18px;
    }
    
    .help-item {
        padding: 10px 12px;
    }
}

/* ====================================
   TYPE SELECTION CARDS (Step 1)
   ==================================== */

.rlpm-step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 17px;
    color: #374151;
    font-weight: 600;
}

.rlpm-step-title svg {
    width: 22px;
    height: 22px;
    color: #B3157F;
}

.rlpm-type-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.rlpm-type-option {
    cursor: pointer;
}

.rlpm-type-option input {
    display: none;
}

.rlpm-type-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #fafafa;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.rlpm-type-card:hover {
    border-color: #d1d5db;
    background: #fff;
}

.rlpm-type-card.selected {
    border-color: #B3157F;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff 100%);
    box-shadow: 0 4px 15px rgba(179, 21, 127, 0.15);
}

.rlpm-type-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rlpm-type-icon svg {
    width: 24px;
    height: 24px;
    color: #B3157F;
}

.rlpm-type-icon-mnp {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.rlpm-type-icon-mnp svg {
    color: #2563eb;
}

.rlpm-type-card.selected .rlpm-type-icon {
    background: linear-gradient(135deg, #B3157F 0%, #8B1166 100%);
}

.rlpm-type-card.selected .rlpm-type-icon svg {
    color: #fff;
}

.rlpm-type-content {
    flex: 1;
}

.rlpm-type-content h4 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
}

.rlpm-type-content p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.rlpm-type-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.rlpm-type-check svg {
    width: 14px;
    height: 14px;
    color: transparent;
}

.rlpm-type-card.selected .rlpm-type-check {
    background: linear-gradient(135deg, #B3157F 0%, #8B1166 100%);
    border-color: transparent;
}.rlpm-type-card.selected .rlpm-type-check svg {
    color: #fff;
}/* Navigation Buttons */
.rlpm-next-btn,
.rlpm-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rlpm-next-btn {
    background: linear-gradient(135deg, #B3157F 0%, #8B1166 100%);
    color: #fff;
}

.rlpm-next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 21, 127, 0.35);
}

.rlpm-next-btn svg {
    width: 18px;
    height: 18px;
}

.rlpm-back-btn {
    background: transparent;
    color: #6b7280;
    padding: 10px 16px;
    width: auto;
    margin-bottom: 20px;
}

.rlpm-back-btn:hover {
    color: #374151;
    background: #f3f4f6;
}

.rlpm-back-btn svg {
    width: 16px;
    height: 16px;
}

/* ====================================
   MNP (PORTING) FIELDS
   ==================================== */

.rlpm-phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.rlpm-phone-input-wrapper input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    direction: ltr;
    text-align: left;
    background: #fafafa;
}

.rlpm-phone-input-wrapper input:focus {
    outline: none;
    border-color: #B3157F;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(179, 21, 127, 0.1);
}

.rlpm-send-code-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.rlpm-send-code-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.rlpm-send-code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mini-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.rlpm-code-sent-msg {
    color: #059669 !important;
}

.rlpm-code-sent-msg svg {
    color: #059669 !important;
}

/* Divider */
.rlpm-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    gap: 15px;
}

.rlpm-divider::before,
.rlpm-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.rlpm-divider span {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
}

/* ====================================
   TOAST NOTIFICATIONS
   ==================================== */

.rlpm-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1f2937;
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    direction: rtl;
}

.rlpm-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.rlpm-toast-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.rlpm-toast-error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* ====================================
   FORM STEPS
   ==================================== */

.rlpm-form-step {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ====================================
   MOBILE RESPONSIVE (TYPE CARDS)
   ==================================== */

@media screen and (max-width: 520px) {
    .rlpm-type-card {
        padding: 14px 16px;
    }
    
    .rlpm-type-icon {
        width: 42px;
        height: 42px;
    }
    
    .rlpm-type-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .rlpm-type-content h4 {
        font-size: 15px;
    }
    
    .rlpm-type-content p {
        font-size: 12px;
    }
    
    .rlpm-phone-input-wrapper {
        flex-direction: column;
    }
    
    .rlpm-send-code-btn {
        width: 100%;
    }
    
    .rlpm-toast {
        left: 15px;
        right: 15px;
        transform: translateX(0) translateY(100px);
        width: auto;
    }
    
    .rlpm-toast.show {
        transform: translateX(0) translateY(0);
    }
}

/* ====================================
   DESKTOP ENHANCEMENTS
   ==================================== */

@media screen and (min-width: 768px) {
    .rlpm-activation-wrapper {
        padding: 50px 40px 80px;
    }
    
    .rlpm-activation-container {
        max-width: 520px;
    }
    
    .rlpm-activation-header h1 {
        font-size: 32px;
    }
    
    .rlpm-steps {
        gap: 15px;
    }
    
    .rlpm-step {
        padding: 12px 22px;
        font-size: 15px;
    }
    
    .rlpm-activation-form {
        padding: 40px 35px;
    }
    
    .rlpm-type-card {
        padding: 22px 24px;
    }
}

/* ====================================
   MULTI-SIM CARDS
   ==================================== */

.rlpm-order-summary {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border: 1px solid #fbcfe8;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.order-summary-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.order-id-label {
    color: #6b7280;
    font-size: 14px;
}

.order-id-value {
    font-weight: 700;
    color: #B3157F;
    font-size: 16px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.sims-count {
    background: #B3157F;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-right: auto;
}

.rlpm-sims-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 25px;
}

.rlpm-product-group-header {
    margin-top: 10px;
}

.rlpm-product-group-header h4 {
    margin: 0;
    font-size: 15px;
    color: #374151;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rlpm-product-group-header .product-count {
    color: #6b7280;
    font-weight: 400;
}

/* SIM Card */
.rlpm-sim-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rlpm-sim-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.rlpm-sim-card.activated {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #86efac;
}

.sim-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #fafafa;
    border-bottom: 1px solid #e5e7eb;
}

.rlpm-sim-card.activated .sim-card-header {
    background: transparent;
    border-bottom-color: #bbf7d0;
}

.sim-card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-badge {
    background: linear-gradient(135deg, #B3157F 0%, #8B1166 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.rlpm-sim-card.activated .sim-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.sim-product-name {
    margin: 0;
    font-size: 15px;
    color: #374151;
    font-weight: 500;
}

.sim-status {
    font-size: 13px;
}

.status-pending {
    color: #f59e0b;
    font-weight: 500;
}

.status-success {
    color: #059669;
    font-weight: 600;
}

.phone-number {
    color: #059669;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-weight: 600;
    font-size: 15px;
    direction: ltr;
    display: inline-block;
}

.sim-card-body {
    padding: 18px;
}

/* SIM Type Selector (inline) */
.sim-type-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.sim-type-option {
    flex: 1;
    cursor: pointer;
}

.sim-type-option input {
    display: none;
}

.sim-type-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.2s ease;
}

.sim-type-label svg {
    width: 16px;
    height: 16px;
}

.sim-type-option:hover .sim-type-label {
    border-color: #d1d5db;
    background: #fff;
}

.sim-type-option.selected .sim-type-label {
    border-color: #B3157F;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff 100%);
    color: #B3157F;
}

/* SIM MNP Fields */
.sim-mnp-fields {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e5e7eb;
}

.sim-mnp-fields .rlpm-form-group {
    margin-bottom: 14px;
}

.sim-mnp-fields .rlpm-form-group:last-child {
    margin-bottom: 0;
}

.sim-mnp-fields label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

/* Compact SIM inputs */
.sim-card-body .rlpm-form-group {
    margin-bottom: 0;
}

.sim-card-body .rlpm-form-group label {
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

.sim-card-body .rlpm-icc-input-wrapper {
    border-radius: 10px;
}

.sim-card-body .icc-prefix {
    font-size: 12px;
    padding: 12px 10px;
}

.sim-card-body .icc-input {
    font-size: 16px !important;
    padding: 12px 14px !important;
}

/* Progress Bar */
.rlpm-progress-container {
    margin-top: 25px;
}

.rlpm-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.rlpm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #B3157F 0%, #8B1166 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0;
}

.rlpm-progress-text {
    margin: 10px 0 0;
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

/* Result details improvements */
.result-details .detail-item.error .detail-value {
    color: #dc2626;
    font-size: 14px;
    font-family: inherit;
}

/* ====================================
   WORDPRESS THEME ISOLATION
   ==================================== */

/* Reset any inherited styles from theme */
.rlpm-activation-wrapper .rlpm-activation-container {
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* Ensure all interactive elements work */
.rlpm-activation-wrapper,
.rlpm-activation-wrapper * {
    pointer-events: auto;
}

.rlpm-type-option,
.rlpm-type-card,
.rlpm-next-btn,
.rlpm-back-btn,
.rlpm-submit-btn,
.rlpm-send-code-btn,
.rlpm-retry-btn,
.sim-type-option,
button,
input,
label {
    cursor: pointer;
    pointer-events: auto !important;
}

input[type="text"],
input[type="tel"] {
    cursor: text;
}

/* Ensure form elements are visible and clickable */
.rlpm-type-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rlpm-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* ====================================
   MOBILE RESPONSIVE (SIM CARDS)
   ==================================== */

@media screen and (max-width: 520px) {
    .sim-type-selector {
        flex-direction: column;
    }
    
    .sim-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .sim-status {
        align-self: flex-start;
    }
    
    .order-summary-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sims-count {
        margin-right: 0;
        margin-top: 5px;
    }
}
