.iptv-free-trial-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 0;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    overflow: hidden;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.iptv-header {
    text-align: center;
    margin-bottom: 0;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    position: relative;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.3);
}

.iptv-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.iptv-logo i {
    font-size: 40px;
    color: #f39c12;
}

.iptv-free-trial-container h2 {
    color: white;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.iptv-free-trial-container p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
}

.iptv-form-wrapper {
    padding: 30px;
    position: relative;
}

.iptv-form-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.step.active {
    background-color: #f39c12;
    color: white;
    box-shadow: 0 3px 8px rgba(243, 156, 18, 0.4);
}

.step-line {
    flex-grow: 1;
    height: 3px;
    background-color: #f0f0f0;
    max-width: 80px;
}

#iptv-free-trial-message {
    margin: 0 0 25px;
    padding: 20px;
    border-radius: 10px;
    display: none;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#iptv-free-trial-message.success {
    background-color: #e8f5e9;
    color: #1b5e20;
    border-left: 4px solid #4caf50;
    display: block;
}

#iptv-free-trial-message.error {
    background-color: #fdecea;
    color: #b71c1c;
    border-left: 4px solid #f44336;
    display: block;
}

#iptv-free-trial-message.thank-you-message {
    text-align: center;
    padding: 30px 20px;
    background-color: #f0f8ff;
    border: none;
    border-radius: 12px;
}

.thank-you-header {
    margin-bottom: 20px;
}

.thank-you-header i {
    font-size: 60px;
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.2);
}

#iptv-free-trial-message h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.email-notice {
    background-color: rgba(52, 152, 219, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.email-notice i {
    margin-right: 10px;
    color: #3498db;
    font-size: 20px;
}

.form-row {
    display: flex;
    margin: 0 -10px 20px;
}

.form-row .form-group {
    flex: 1;
    padding: 0 10px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
    transition: color 0.3s ease;
}

.form-group label i {
    margin-right: 5px;
    color: #f39c12;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
    outline: none;
    background-color: #fff;
}

/* Device selection styling */
.device-selection {
    margin-bottom: 25px;
}

.device-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.device-option {
    flex: 1;
}

.device-option input[type="radio"] {
    display: none;
}

.device-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
}

.device-option label i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #777;
    transition: all 0.3s ease;
}

.device-option label span {
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.device-option input[type="radio"]:checked + label {
    border-color: #f39c12;
    background-color: rgba(243, 156, 18, 0.08);
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.2);
}

.device-option input[type="radio"]:checked + label i,
.device-option input[type="radio"]:checked + label span {
    color: #f39c12;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 13px;
    font-style: italic;
}

.form-group button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
}

.form-group button: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: all 0.6s ease;
}

.form-group button:hover:before {
    left: 100%;
}

.form-group button:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.form-group button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.form-group button:hover i {
    transform: translateX(4px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .iptv-free-trial-container {
        margin: 20px 15px;
        border-radius: 12px;
    }
    
    .iptv-header {
        padding: 30px 20px 25px;
    }
    
    .iptv-free-trial-container h2 {
        font-size: 26px;
    }
    
    .form-row {
        flex-direction: column;
        margin: 0 0 10px;
    }
    
    .form-row .form-group {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .form-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .device-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .iptv-form-steps {
        display: none;
    }
}

/* Trial details styling */
.trial-details-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    margin-top: 25px;
    border-left: 4px solid #f39c12;
}

.trial-details-box p {
    margin: 12px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    line-height: 1.6;
}

.trial-details-box p:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.trial-details-box strong {
    color: #2c3e50;
    font-weight: 600;
}

.trial-details-box a {
    color: #f39c12;
    word-break: break-all;
    text-decoration: none;
    transition: color 0.3s ease;
}

.trial-details-box a:hover {
    color: #e67e22;
    text-decoration: underline;
}

.trial-success-message {
    background-color: #e8f5e9;
    color: #1b5e20;
    border-left: 4px solid #4caf50;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.trial-pending-message {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Loading spinner animation */
#loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f39c12;
    font-weight: 500;
    padding: 14px;
    border-radius: 6px;
    background-color: rgba(243, 156, 18, 0.1);
}

#loading-spinner i {
    margin-right: 10px;
    font-size: 20px;
}

.spin {
    animation: spin 1.5s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-group.checkbox-group {
    margin-bottom: 30px;
}

.toggle-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    position: relative;
}

.toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    background-color: #e0e0e0;
    border-radius: 34px;
    transition: .4s;
    margin-right: 12px;
    flex-shrink: 0;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
    background-color: #f39c12;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 15px;
    color: #555;
}

/* Features section */
.form-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fffbf0, #fff8e1);
    border-radius: 10px;
    border: 1px solid rgba(243, 156, 18, 0.2);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.05);
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.feature-item i {
    color: #f39c12;
    margin-right: 8px;
    font-size: 18px;
}

.feature-item span {
    color: #555;
    font-weight: 500;
}

/* Footer */
.iptv-footer {
    padding: 15px 30px;
    background: linear-gradient(135deg, #fffbf0, #fff8e1);
    border-top: 1px solid rgba(243, 156, 18, 0.2);
    text-align: center;
}

.iptv-footer p {
    margin: 0;
    font-size: 14px;
    color: #777;
}

#trial-details {
    margin-top: 30px;
    padding: 25px;
    background-color: #fffbf0;
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.15);
}

#trial-details h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
    display: flex;
    align-items: center;
}

#trial-details h3 i {
    color: #27ae60;
    margin-right: 10px;
    font-size: 24px;
}

/* Thank you message styling */
.thank-you-message {
    padding: 30px !important;
    text-align: center;
    background-color: #fffbf0 !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.15) !important;
}

.thank-you-header {
    margin-bottom: 20px;
}

.thank-you-header i {
    font-size: 70px;
    color: #27ae60;
    background-color: rgba(39, 174, 96, 0.1);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 3px solid rgba(39, 174, 96, 0.2);
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.1);
}

.thank-you-message h3 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.thank-you-message p {
    font-size: 17px;
    line-height: 1.7;
    color: #5f6368;
    margin-bottom: 20px;
}

.email-notice {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 18px;
    margin: 25px 0;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.email-notice i {
    color: #ffc107;
    margin-right: 8px;
    font-size: 18px;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

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

.input-focused {
    transition: all 0.3s ease;
}

.input-focused label {
    color: #f39c12;
}

/* Responsive styles */
@media (max-width: 768px) {
    .iptv-free-trial-container {
        padding: 20px;
        margin: 15px auto;
    }
    
    .form-row {
        display: block;
        margin: 0;
    }
    
    .form-row .form-group {
        padding: 0;
        margin: 0 0 20px;
    }
    
    .form-group button {
        padding: 12px 15px;
    }
    
    .thank-you-header i {
        width: 90px;
        height: 90px;
        font-size: 45px;
    }
    
    .thank-you-message h3 {
        font-size: 26px;
    }
    
    .thank-you-message {
        padding: 20px !important;
    }
}

/* Add styles for info message */
#iptv-free-trial-message.info {
    background-color: #e7f5ff;
    border-left: 4px solid #0099ff;
    color: #0066cc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

#iptv-free-trial-message.info i {
    font-size: 24px;
    margin-right: 10px;
    color: #0099ff;
}

/* Add a subtle animation for the info message */
@keyframes pulse-info {
    0% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 153, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0); }
}

#iptv-free-trial-message.info {
    animation: pulse-info 2s infinite;
}
/* En
hanced Yellow Theme Additions */
.iptv-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    border: 2px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15), 0 4px 12px rgba(243, 156, 18, 0.1);
    transform: translateY(-1px);
}

.device-option label {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e0e0e0;
}

.device-option label:hover {
    border-color: rgba(243, 156, 18, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.15);
}

.form-group button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

/* Pulse animation for important elements */
@keyframes pulse-yellow {
    0% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(243, 156, 18, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); }
}

.step.active {
    animation: pulse-yellow 2s infinite;
}

/* Enhanced success message */
#iptv-free-trial-message.success {
    background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
    border-left: 4px solid #4caf50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

/* Enhanced error message */
#iptv-free-trial-message.error {
    background: linear-gradient(135deg, #fdecea, #fdf2f2);
    border-left: 4px solid #f44336;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.15);
}

/* Improved form validation styles */
.form-group input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Enhanced loading state */
.form-group button.loading {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    cursor: not-allowed;
    transform: none;
}

.form-group button.loading:hover {
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    transform: none;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

/* Improved mobile responsiveness */
@media (max-width: 480px) {
    .iptv-free-trial-container {
        margin: 10px;
        border-radius: 12px;
    }
    
    .iptv-header {
        padding: 25px 20px 20px;
    }
    
    .iptv-free-trial-container h2 {
        font-size: 22px;
        line-height: 1.3;
    }
    
    .device-options {
        gap: 8px;
    }
    
    .device-option label {
        padding: 15px 10px;
    }
    
    .form-features {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    
    .feature-item {
        justify-content: center;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .iptv-free-trial-container {
        background-color: #2c3e50;
        color: #ecf0f1;
        border-color: rgba(243, 156, 18, 0.3);
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"] {
        background-color: #34495e;
        color: #ecf0f1;
        border-color: #4a5f7a;
    }
    
    .form-group input[type="text"]:focus,
    .form-group input[type="email"]:focus {
        background-color: #3c5a78;
    }
    
    .device-option label {
        background-color: #34495e;
        color: #ecf0f1;
        border-color: #4a5f7a;
    }
    
    .form-features {
        background: linear-gradient(135deg, #34495e, #2c3e50);
        border-color: rgba(243, 156, 18, 0.3);
    }
    
    .iptv-footer {
        background: linear-gradient(135deg, #34495e, #2c3e50);
        border-color: rgba(243, 156, 18, 0.3);
    }
}

/* Accessibility improvements */
.form-group input:focus,
.device-option input:focus + label,
.toggle-switch input:focus + .toggle-slider {
    outline: 2px solid #f39c12;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .iptv-header {
        background: #f39c12;
    }
    
    .form-group button {
        background: #f39c12;
        border: 2px solid #000;
    }
    
    .device-option input[type="radio"]:checked + label {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .step.active {
        animation: none;
    }
}