/* IPTV Customer Access - Dark Theme */
.iptvca-wrap {
    padding: 0 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.iptvca-container {
    max-width: 990px;
    margin: 0 auto;
}

.iptvca-card {
    background: #121a22;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.iptvca-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.iptvca-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #e7eef5;
    font-size: 1.1rem;
}

.iptvca-logo-dot {
    width: 10px;
    height: 10px;
    background: var(--theme-palette-color-2);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(var(--theme-palette-color-2), 0.5);
}

.iptvca-title {
    color: #e7eef5;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.iptvca-subtitle {
    color: #9fb3c8;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.iptvca-form {
    margin-bottom: 25px;
}

.iptvca-field {
    margin-bottom: 20px;
}

.iptvca-field label {
    display: block;
    color: #9fb3c8;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.iptvca-field input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: #e7eef5;
    font-size: 1rem;
    transition: all 0.2s;
    box-sizing: border-box;
}

.iptvca-field input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.iptvca-field input::placeholder {
    color: #5a7080;
}

.iptvca-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.iptvca-btn-primary {
    background: #00d4ff;
    color: #080c10;
    width: 100%;
}

.iptvca-btn-primary:hover {
    background: #00e5a0;
    transform: translateY(-1px);
}

.iptvca-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #9fb3c8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.iptvca-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e7eef5;
}

.iptvca-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.iptvca-spinner {
    display: inline-flex;
    color: inherit;
}

.iptvca-message {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.iptvca-message.error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

.iptvca-message.success {
    background: rgba(0, 229, 160, 0.1);
    border: 1px solid rgba(0, 229, 160, 0.3);
    color: #00e5a0;
}

.iptvca-help {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.iptvca-help p {
    color: #9fb3c8;
    font-size: 0.9rem;
    margin: 0;
}

.iptvca-help a {
    color: var(--theme-palette-color-2);
    text-decoration: none;
}

.iptvca-help a:hover {
    text-decoration: underline;
}

/* Dashboard Styles */
.iptvca-dashboard .iptvca-header {
    margin-bottom: 25px;
}

.iptvca-welcome {
    margin-bottom: 30px;
}

.iptvca-welcome h2 {
    color: #e7eef5;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.iptvca-welcome p {
    color: #9fb3c8;
    margin: 0;
}

.iptvca-credentials {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.iptvca-cred-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 20px;
}

.iptvca-cred-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.iptvca-cred-content {
    flex: 1;
}

.iptvca-cred-content label {
    display: block;
    color: #9fb3c8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.iptvca-cred-value {
    display: flex;
    gap: 10px;
    align-items: center;
}

.iptvca-cred-value input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 12px 14px;
    color: #e7eef5;
    font-size: 0.95rem;
    font-family: 'SF Mono', Monaco, monospace;
}

.iptvca-copy, .iptvca-toggle-password {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(var(--theme-palette-color-2), 0.2);
    color: var(--theme-palette-color-2);
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.iptvca-copy:hover, .iptvca-toggle-password:hover {
    background: rgba(0, 212, 255, 0.2);
}

.iptvca-copy.copied {
    background: rgba(0, 229, 160, 0.2);
    border-color: rgba(0, 229, 160, 0.4);
    color: #00e5a0;
}

.iptvca-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--theme-palette-color-2);
    font-size: 0.9rem;
    text-decoration: none;
}

.iptvca-link:hover {
    text-decoration: underline;
}

.iptvca-expiry {
    background: rgba(255, 209, 102, 0.1);
    border: 1px solid rgba(255, 209, 102, 0.2);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
    text-align: center;
}

.iptvca-expiry-label {
    color: #9fb3c8;
    font-size: 0.9rem;
}

.iptvca-expiry-date {
    color: #ffd166;
    font-weight: 600;
    margin-left: 10px;
}

.iptvca-instructions {
    background: rgba(0, 229, 160, 0.05);
    border: 1px solid rgba(0, 229, 160, 0.15);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.iptvca-instructions h3 {
    color: #00e5a0;
    font-size: 1rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.iptvca-instructions ol {
    margin: 0;
    padding-left: 20px;
    color: #9fb3c8;
}

.iptvca-instructions li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.iptvca-support {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.iptvca-support p {
    color: #9fb3c8;
    margin: 0;
}

.iptvca-support a {
    color: #00d4ff;
    text-decoration: none;
}

.iptvca-support a:hover {
    text-decoration: underline;
}

@media (min-width: 990px) {
    .iptvca-credentials-container {
        display: grid;
        grid-template-columns: auto auto;
        gap: 30px;
        align-items: self-start;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .iptvca-wrap {
        padding: 20px 15px;
    }
    
    .iptvca-card {
        padding: 25px 20px;
    }
    
    .iptvca-cred-value {
        flex-wrap: wrap;
    }
    
    .iptvca-cred-value input {
        width: 100%;
    }
}
