/* IPTV Manager — frontend styles */

.iptv-form-wrapper {
    max-width: 540px;
    margin: 0 auto;
}

.iptv-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.iptv-card__title {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a2e;
}

.iptv-card__desc {
    color: #64748b;
    margin-bottom: 24px;
}

/* Form */
.iptv-form__group {
    margin-bottom: 18px;
}

.iptv-form__group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: .9rem;
    color: #374151;
}

.iptv-form__input {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color .2s;
    box-sizing: border-box;
}

.iptv-form__input:focus {
    outline: none;
    border-color: #e94560;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, .15);
}

.iptv-form__small {
    font-size: .82rem;
    color: #9ca3af;
    margin: 0;
}

/* Buttons */
.iptv-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity .2s, transform .1s;
}

.iptv-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.iptv-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.iptv-btn--primary {
    background: #e94560;
    color: #fff;
    width: 100%;
    text-align: center;
}

.iptv-btn--secondary {
    background: #1a1a2e;
    color: #fff;
    font-size: .9rem;
    padding: 9px 18px;
}

/* Response notices */
.iptv-response {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: .95rem;
}

.iptv-response--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.iptv-response--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Plans grid */
.iptv-plans {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.iptv-plan-card {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.iptv-plan-card__name {
    font-weight: 700;
    font-size: .95rem;
}

.iptv-plan-card__months {
    font-size: .8rem;
    color: #64748b;
}

.iptv-plan-card__price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #e94560;
}

.iptv-notice {
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
}
