/* EN Subscription Plugin - Frontend Styles */

/* Reset ve Base Styles */
.en-subscription-plugin * {
    box-sizing: border-box;
}

/* Container Styles */
.en-registration-form-container,
.en-login-form-container,
.en-subscription-plans-container,
.en-user-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Form Styles */
.en-form-wrapper {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin: 20px auto;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.en-form-wrapper.en-form-wide {
    max-width: 900px;
    padding: 40px;
}

.en-form-title {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
    font-size: 28px;
    font-weight: 700;
}

.en-form-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 16px;
    line-height: 1.4;
}

.en-form {
    margin: 0;
}

.en-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
}

.en-form-group {
    margin-bottom: 15px;
}

.en-form-half {
    flex: 1;
}

.en-form-third {
    flex: 1;
    min-width: 200px;
}

/* Form Sections */
.en-form-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.en-form-section:first-of-type {
    margin-top: 0;
}

.en-section-title {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    padding-bottom: 6px;
    border-bottom: 2px solid #0073aa;
    display: inline-block;
}

/* Radio Button Styles */
.en-radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.en-radio-option {
    position: relative;
}

.en-form-radio {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.en-radio-label {
    display: block;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    margin-bottom: 0 !important;
}

.en-radio-label:hover {
    border-color: #0073aa;
    background: #f8f9fa;
}

.en-form-radio:checked + .en-radio-label {
    border-color: #0073aa;
    background: #e7f3ff;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.radio-content {
    text-align: center;
}

.radio-title {
    display: block;
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}

.radio-description {
    display: block;
    font-size: 13px;
    color: #666;
}

/* Corporate Fields */
.corporate-fields {
    background: #fff3cd;
    border-color: #ffeaa7;
}

.individual-only {
    transition: opacity 0.3s ease;
}

/* Password Strength */
.password-strength {
    margin-top: 8px;
    font-size: 12px;
}

.password-strength.weak .strength-label {
    color: #d63638;
}

.password-strength.fair .strength-label {
    color: #f0ad4e;
}

.password-strength.good .strength-label {
    color: #f39c12;
}

.password-strength.strong .strength-label {
    color: #00a32a;
}

.password-strength.very-strong .strength-label {
    color: #27ae60;
}

.strength-feedback {
    display: block;
    color: #666;
    font-size: 11px;
    margin-top: 2px;
}

/* Password Match */
.password-match {
    margin-top: 8px;
    font-size: 12px;
}

.password-match.success .match-success {
    color: #00a32a;
}

.password-match.error .match-error {
    color: #d63638;
}

.en-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.en-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.5;
    background-color: #fff;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.en-form-control[readonly] {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.8;
}

.en-form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.en-form-control::placeholder {
    color: #999;
    font-size: 14px;
}

/* Select Box Styling */
.en-form-control select,
select.en-form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23666' d='M8 10.293l3.646-3.647.708.708L8 11.707 3.646 7.354l.708-.708L8 10.293z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px;
    padding: 8px 30px 8px 10px;
    cursor: pointer;
    height: 36px;
}

.en-form-control select:focus,
select.en-form-control:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Textarea Styling */
.en-form-control textarea,
textarea.en-form-control {
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
    padding: 8px 10px;
}

.en-form-help {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.required {
    color: #d63638;
}

/* Checkbox Styles */
.en-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.en-form-checkbox {
    margin-top: 3px;
    width: 16px;
    height: 16px;
}

.en-checkbox-label {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 0 !important;
}

.en-checkbox-label a {
    color: #0073aa;
    text-decoration: none;
}

.en-checkbox-label a:hover {
    text-decoration: underline;
}

/* Password Input */
.en-password-input {
    position: relative;
}

.en-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
}

/* Button Styles */
.en-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.en-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
}

.en-btn-primary {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.en-btn-primary:hover {
    background-color: #005a87;
    border-color: #005a87;
    color: #fff;
}

.en-btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

.en-btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
    color: #fff;
}

.en-btn-warning {
    background-color: #f0ad4e;
    color: #fff;
    border-color: #f0ad4e;
}

.en-btn-warning:hover {
    background-color: #ec971f;
    border-color: #ec971f;
    color: #fff;
}

.en-btn-danger {
    background-color: #d63638;
    color: #fff;
    border-color: #d63638;
}

.en-btn-danger:hover {
    background-color: #b32d2e;
    border-color: #b32d2e;
    color: #fff;
}

.en-btn-success {
    background-color: #00a32a;
    color: #fff;
    border-color: #00a32a;
}

.en-btn-success:hover {
    background-color: #007a20;
    border-color: #007a20;
    color: #fff;
}

.en-btn-outline {
    background-color: transparent;
    color: #0073aa;
    border-color: #0073aa;
}

.en-btn-outline:hover {
    background-color: #0073aa;
    color: #fff;
}

.en-btn-current {
    background-color: #f1f1f1;
    color: #666;
    border-color: #ddd;
    cursor: not-allowed;
}

.en-btn-block {
    width: 100%;
}

.en-btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.en-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

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

/* Submit Button Special */
.en-form-submit {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

/* Link Styles */
.en-link {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.en-link:hover {
    color: #005a87;
    text-decoration: underline;
}

/* Spinner */
.spinner {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Form Footer */
.en-form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.en-form-footer a {
    color: #0073aa;
    text-decoration: none;
}

.en-form-footer a:hover {
    text-decoration: underline;
}

/* Alert Styles */
.en-alert {
    padding: 15px 20px;
    margin: 15px 0;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
    word-wrap: break-word;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.en-alert a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.en-alert a:hover {
    text-decoration: none;
    opacity: 0.8;
}

.en-alert strong {
    margin-right: 5px;
}

.en-alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.en-alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.en-alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.en-alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Progress bar for successful alerts (like redirects) */
.en-alert-success.with-progress::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: #28a745;
    animation: progressBar 3s linear;
}

@keyframes progressBar {
    from { width: 0%; }
    to { width: 100%; }
}

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

/* Message containers */
#en-registration-messages,
#en-login-messages,
#en-forgot-messages,
#en-plans-messages {
    min-height: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}

/* Mobile responsiveness for alerts */
@media (max-width: 768px) {
    .en-alert {
        padding: 12px 15px;
        font-size: 13px;
        margin: 10px 0;
    }
    
    .en-alert a {
        display: inline-block;
        margin-top: 5px;
    }
}

/* Subscription Plans Styles */
.en-plans-header {
    text-align: center;
    margin-bottom: 40px;
}

.en-plans-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.en-plans-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.en-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.en-plan-card {
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.en-plan-card:hover,
.en-plan-hover {
    border-color: #0073aa;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 115, 170, 0.1);
}

.en-plan-popular {
    border-color: #0073aa;
    transform: scale(1.05);
}

.en-plan-current {
    border-color: #00a32a;
    background-color: #f8fff9;
}

.en-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0073aa;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.en-plan-current-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #00a32a;
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.en-plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.en-plan-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.en-plan-price {
    margin-bottom: 15px;
}

.en-price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #0073aa;
}

.en-price-period {
    font-size: 16px;
    color: #666;
}

.en-plan-description {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.en-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.en-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #333;
}

.en-feature-icon {
    color: #00a32a;
    font-weight: bold;
    font-size: 16px;
}

.en-trial-info {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.trial-icon {
    margin-right: 5px;
}

/* No Plans/Subscription */
.en-no-plans,
.en-no-subscription {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 12px;
    margin: 40px 0;
}

.en-no-plans-content,
.en-no-subscription-content {
    max-width: 400px;
    margin: 0 auto;
}

.en-no-plans-icon,
.en-no-subscription-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.en-no-plans h3,
.en-no-subscription h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.en-no-plans p,
.en-no-subscription p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Plans Info Grid */
.en-plans-info {
    margin-top: 50px;
    padding: 40px 0;
    background: #f8f9fa;
    border-radius: 12px;
}

.en-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.en-info-item {
    text-align: center;
}

.en-info-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.en-info-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.en-info-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* User Dashboard Styles */
.en-dashboard-header {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.en-user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.en-user-avatar img {
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.en-user-name {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 600;
}

.en-user-email,
.en-user-since {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.en-dashboard-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Dashboard Tabs */
.en-dashboard-tabs {
    display: flex;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.en-tab-button {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 20px !important;
    padding: 10px !important;
}

.en-tab-button:hover {
    background-color: #f8f9fa;
    color: #333;
}

.en-tab-button.active {
    background-color: #0073aa;
    color: #fff;
}

.en-tab-content {
    display: none;
}

.en-tab-content.active {
    display: block;
}

/* Subscription Card */
.en-subscription-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.en-subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.en-subscription-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.en-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.en-status-active {
    background-color: #d4edda;
    color: #155724;
}

.en-status-paused {
    background-color: #fff3cd;
    color: #856404;
}

.en-status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.en-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.en-detail-row:last-child {
    border-bottom: none;
}

.en-detail-label {
    font-weight: 500;
    color: #666;
}

.en-detail-value {
    color: #333;
}

.en-subscription-actions {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Payments Summary */
.en-payments-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.en-summary-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.en-summary-card h4 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.en-summary-amount {
    font-size: 24px;
    font-weight: 700;
    color: #00a32a;
}

.en-summary-count {
    font-size: 24px;
    font-weight: 700;
    color: #0073aa;
}

/* Payments Table */
.en-payments-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.en-table-header {
    background: #f8f9fa;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 100px;
    gap: 15px;
    padding: 15px 20px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
}

.en-table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 100px;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
    align-items: center;
}

.en-table-row:last-child {
    border-bottom: none;
}

.en-table-row:hover {
    background-color: #f8f9fa;
}

.en-payment-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.en-payment-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.en-payment-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.en-payment-failed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.en-payment-cancelled {
    background-color: #f1f3f4;
    color: #5f6368;
    border: 1px solid #dadce0;
}

/* Payments Actions */
.en-payments-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.en-payments-summary {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.en-payments-actions {
    display: flex;
    gap: 10px;
}

/* Profile Form */
.en-profile-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.en-profile-form h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 20px;
}

.en-password-change {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.en-password-change h3 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 20px;
}

/* Modal Styles */
.en-modal {
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.3s ease;
}

.en-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.en-modal-header {
    padding: 20px 25px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.en-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.en-modal-close {
    color: #666;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.en-modal-close:hover {
    background-color: #e9ecef;
    color: #333;
}

.en-modal-body {
    padding: 25px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Admin rotation animation */
@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .en-registration-form-container,
    .en-login-form-container,
    .en-subscription-plans-container,
    .en-user-dashboard {
        padding: 15px;
    }
    
    .en-form-wrapper {
        padding: 20px;
        margin: 15px auto;
    }
    
    .en-form-wrapper.en-form-wide {
        padding: 25px;
    }
    
    .en-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .en-form-section {
        padding: 20px;
        margin-bottom: 25px;
        font-size: 15px !important;
    }
    
    .en-radio-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .en-radio-label {
        padding: 15px;
    }
    
    .en-plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .en-plan-popular {
        transform: none;
    }
    
    .en-dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    
    .en-dashboard-tabs {
        flex-direction: column;
    }
    
    .en-subscription-actions {
        flex-direction: column;
    }
    
    .en-table-header,
    .en-table-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .en-table-header {
        display: none;
    }
    
    .en-table-row {
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 15px;
    }
    
    .en-payments-summary {
        grid-template-columns: 1fr;
    }
    
    .en-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .en-modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .en-form-wrapper {
        padding: 15px;
    }
    
    .en-plans-title {
        font-size: 24px;
    }
    
    .en-plan-card {
        padding: 20px;
    }
    
    .en-plan-name {
        font-size: 20px;
    }
    
    .en-price-amount {
        font-size: 28px;
    }
    
    .en-user-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .en-dashboard-actions {
        justify-content: center;
    }
}

.en-field-error {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;

}