/**
 * W7Commerce Affiliates - Frontend Styles
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Reset & Base */
.w7-dashboard *,
.w7-registration-form *,
.w7-login-box * {
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Forms */
.w7-registration-form,
.w7-login-box {
    max-width: 480px;
    margin: 0 auto;
}

.w7-login-box {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.w7-login-box h2 {
    margin: 0 0 30px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
}

.w7-form-title {
    margin: 0 0 30px;
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.w7-form-row {
    margin-bottom: 20px;
    position: relative;
}

.w7-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.w7-form-row input[type="text"],
.w7-form-row input[type="email"],
.w7-form-row input[type="password"],
.w7-form-row input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.w7-form-row input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #fff;
}

.w7-form-row input::placeholder {
    color: #aaa;
}

.w7-form-row small {
    display: block;
    margin-top: 8px;
    color: #666;
    font-size: 13px;
}

.w7-form-row .required {
    color: #e74c3c;
}

.w7-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.w7-form-checkbox label {
    font-weight: normal;
    cursor: pointer;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.w7-form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
    flex-shrink: 0;
}

.w7-form-checkbox a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.w7-form-checkbox a:hover {
    text-decoration: underline;
}

.w7-form-links {
    text-align: center;
    margin-top: 20px;
}

.w7-form-links a {
    color: #667eea;
    font-size: 14px;
    text-decoration: none;
}

.w7-form-links a:hover {
    text-decoration: underline;
}

/* Buttons */
.w7-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.w7-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.w7-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    color: #fff;
}

.w7-btn-full {
    width: 100%;
}

.w7-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.w7-btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.w7-btn-logout {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    padding: 12px 24px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.w7-btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    color: #fff;
}

.w7-logout-icon {
    font-size: 16px;
}

.w7-btn-update {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 24px;
}

.w7-btn-update:hover {
    transform: translateY(-1px);
}

/* Messages */
.w7-form-messages {
    margin-top: 15px;
}

.w7-message {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.w7-message p {
    margin: 0;
}

.w7-message-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: none;
}

.w7-message-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: none;
}

.w7-message-info {
    background: linear-gradient(135deg, #e7f3ff 0%, #cce5ff 100%);
    color: #004085;
    border: none;
}

/* Login/Register links */
.w7-login-link,
.w7-register-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.w7-login-link p,
.w7-register-link p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.w7-login-link a,
.w7-register-link a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.w7-login-link a:hover,
.w7-register-link a:hover {
    text-decoration: underline;
}

/* Dashboard */
.w7-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.w7-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Program Info Cards */
.w7-program-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.w7-info-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.w7-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.w7-info-icon {
    font-size: 48px;
    line-height: 1;
    flex-shrink: 0;
}

.w7-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.w7-info-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.w7-info-value {
    font-size: 32px;
    font-weight: 800;
    color: #667eea;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.w7-info-desc {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.w7-header-welcome h2 {
    margin: 0 0 5px;
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

.w7-header-subtitle {
    margin: 0;
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.w7-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.w7-btn-tour {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    padding: 12px 24px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.w7-btn-tour:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
    color: #fff;
}

.w7-tour-icon {
    font-size: 16px;
}

/* Affiliate Link Box */
.w7-affiliate-link-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    color: #fff;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

.w7-link-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.w7-link-icon {
    font-size: 24px;
}

.w7-affiliate-link-box label {
    display: block;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.w7-link-actions {
    margin-top: 15px;
}

.w7-affiliate-link-box small {
    display: block;
    margin-bottom: 12px;
    opacity: 0.9;
    font-size: 14px;
}

.w7-social-share {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.w7-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.w7-share-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #fff;
}

.w7-share-whatsapp:hover {
    background: #25D366;
}

.w7-share-telegram:hover {
    background: #0088cc;
}

.w7-share-facebook:hover {
    background: #1877f2;
}

.w7-share-twitter:hover {
    background: #1da1f2;
}

.w7-link-copy {
    display: flex;
    gap: 12px;
}

.w7-link-copy input {
    flex: 1;
    padding: 16px 18px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-weight: 500;
}

.w7-btn-copy {
    padding: 16px 24px;
    background: #fff;
    color: #764ba2;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.w7-btn-copy:hover {
    background: #f8f9fa;
    color: #764ba2;
    transform: translateY(-2px);
}

.w7-copy-icon {
    font-size: 16px;
}

/* Stats Grid */
.w7-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.w7-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.w7-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.w7-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.w7-stat-card:hover::before {
    opacity: 1;
}

.w7-stat-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: block;
}

.w7-stat-highlight {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.w7-stat-highlight::before {
    display: none;
}

.w7-stat-highlight:hover {
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.w7-stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a2e;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.w7-stat-highlight .w7-stat-value {
    color: #fff;
}

.w7-stat-label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.w7-stat-highlight .w7-stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.w7-stat-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

.w7-stat-info {
    margin-top: 8px;
}

.w7-stat-info small {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.w7-trend-up {
    color: #28a745;
}

.w7-trend-down {
    color: #dc3545;
}

.w7-stat-highlight .w7-trend-up {
    color: rgba(255, 255, 255, 0.9);
}

.w7-trend-icon {
    font-size: 16px;
}

/* Charts Section */
.w7-charts-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.w7-chart-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.w7-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.w7-chart-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}

.w7-chart-legend {
    display: flex;
    gap: 15px;
}

.w7-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.w7-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

/* Info Box */
.w7-info-box {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-radius: 12px;
    padding: 18px 24px;
    margin-bottom: 25px;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.w7-info-icon {
    font-size: 20px;
}

/* Section Headers */
.w7-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.w7-section-icon {
    font-size: 24px;
}

.w7-section-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.3px;
}

/* Pix Section */
.w7-pix-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.w7-pix-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.w7-pix-info p {
    margin: 0 0 15px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.w7-pix-types {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.w7-pix-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.w7-pix-form {
    max-width: 600px;
}

.w7-pix-form .w7-form-row {
    margin-bottom: 20px;
}

.w7-pix-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.w7-pix-form input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.w7-pix-form input:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    outline: none;
}

.w7-pix-form small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-size: 13px;
}

.w7-pix-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.w7-verification-row {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.w7-verification-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #856404;
}

.w7-security-icon {
    font-size: 18px;
}

.w7-verification-row input {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
    font-family: 'Courier New', monospace;
}

.w7-verification-info {
    color: #856404 !important;
    font-weight: 500;
}

.w7-verification-info strong {
    color: #664d03;
}

.w7-pix-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.w7-btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.w7-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
    color: #fff;
}

/* Ranking Section */
.w7-ranking-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.w7-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.w7-ranking-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.w7-ranking-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #667eea;
}

.w7-ranking-current {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-color: #ffc107;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.w7-ranking-current:hover {
    border-color: #ffc107;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

.w7-ranking-position {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.w7-ranking-medal {
    font-size: 28px;
    line-height: 1;
}

.w7-ranking-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.w7-ranking-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.w7-ranking-you {
    font-size: 12px;
    font-weight: 600;
    color: #ffc107;
    background: rgba(255, 193, 7, 0.2);
    padding: 2px 8px;
    border-radius: 6px;
}

.w7-ranking-stats {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Commissions Section */
.w7-commissions-section {
    background: #fff;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.w7-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.w7-empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.w7-empty p {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.w7-empty small {
    color: #888;
    font-size: 14px;
}

/* Table */
.w7-table-wrapper {
    overflow-x: auto;
    margin: 0 -10px;
    padding: 0 10px;
}

.w7-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.w7-table th,
.w7-table td {
    padding: 16px 14px;
    text-align: left;
}

.w7-table th {
    background: #f8f9fa;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    border-bottom: 2px solid #e8e8e8;
}

.w7-table th:first-child {
    border-radius: 10px 0 0 0;
}

.w7-table th:last-child {
    border-radius: 0 10px 0 0;
}

.w7-table td {
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #333;
}

.w7-table tr:last-child td {
    border-bottom: none;
}

.w7-table tr:hover td {
    background: #fafafa;
}

.w7-table .w7-amount {
    font-weight: 700;
    color: #28a745;
}

/* Status badges */
.w7-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.w7-status-available {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.w7-status-pending {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
}

.w7-status-paid {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    color: #004085;
}

.w7-status-cancelled {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

/* Pagination */
.w7-pagination {
    margin-top: 25px;
    text-align: center;
}

.w7-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    margin: 0 4px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.w7-pagination .page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #fff;
}

.w7-pagination .page-numbers:hover:not(.current) {
    background: #f8f9fa;
    border-color: #667eea;
    color: #667eea;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .w7-program-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .w7-info-card {
        padding: 20px;
    }

    .w7-info-icon {
        font-size: 40px;
    }

    .w7-info-value {
        font-size: 28px;
    }

    .w7-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .w7-stat-card {
        padding: 20px 15px;
    }

    .w7-stat-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .w7-stat-value {
        font-size: 24px;
    }

    .w7-stat-label {
        font-size: 11px;
    }

    .w7-charts-section {
        grid-template-columns: 1fr;
    }

    .w7-dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px;
    }

    .w7-header-actions {
        flex-direction: column;
        width: 100%;
    }

    .w7-header-welcome h2 {
        font-size: 26px;
    }

    .w7-btn-logout,
    .w7-btn-tour {
        width: 100%;
    }

    .w7-affiliate-link-box {
        padding: 25px 20px;
    }

    .w7-link-copy {
        flex-direction: column;
    }

    .w7-link-copy input,
    .w7-btn-copy {
        width: 100%;
    }

    .w7-social-share {
        justify-content: center;
    }

    .w7-pix-section,
    .w7-commissions-section {
        padding: 20px;
    }

    .w7-pix-types {
        justify-content: center;
    }

    .w7-pix-form button {
        width: 100%;
    }

    .w7-pix-actions {
        flex-direction: column;
    }

    .w7-pix-actions button {
        width: 100%;
    }

    .w7-verification-row input {
        font-size: 20px;
        letter-spacing: 6px;
    }
}

@media screen and (max-width: 480px) {
    .w7-program-info {
        gap: 12px;
    }

    .w7-info-card {
        padding: 18px;
        gap: 15px;
    }

    .w7-info-icon {
        font-size: 36px;
    }

    .w7-info-value {
        font-size: 24px;
    }

    .w7-info-label {
        font-size: 11px;
    }

    .w7-info-desc {
        font-size: 12px;
    }

    .w7-dashboard {
        padding: 10px;
    }

    .w7-login-box {
        padding: 25px 20px;
    }

    .w7-table th,
    .w7-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .w7-status {
        padding: 4px 10px;
        font-size: 10px;
    }

    .w7-stats-grid {
        grid-template-columns: 1fr;
    }

    .w7-header-welcome h2 {
        font-size: 22px;
    }

    .w7-section-header h3 {
        font-size: 18px;
    }

    .w7-ranking-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .w7-ranking-position {
        width: 40px;
        height: 40px;
    }

    .w7-ranking-medal {
        font-size: 22px;
    }

    .w7-ranking-name {
        font-size: 14px;
    }

    .w7-ranking-stats {
        font-size: 12px;
    }
}

/* Intro.js Custom Styles */
.introjs-tooltip {
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
    min-width: 320px !important;
    max-width: 450px !important;
}

.introjs-tooltiptext {
    padding: 20px !important;
    padding-top: 30px !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
}

.introjs-tooltipbuttons {
    padding: 12px 20px !important;
    border-top: 1px solid #e8e8e8 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
}

.introjs-button {
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    font-size: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.introjs-button:focus {
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2) !important;
    outline: none !important;
}

.introjs-nextbutton {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
}

.introjs-nextbutton:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

.introjs-prevbutton {
    background: #f8f9fa !important;
    color: #333 !important;
    border: 2px solid #e8e8e8 !important;
}

.introjs-prevbutton:hover {
    background: #e9ecef !important;
    border-color: #dee2e6 !important;
}

.introjs-skipbutton {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    color: #999 !important;
    background: transparent !important;
    padding: 6px !important;
    font-size: 20px !important;
    text-decoration: none !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.introjs-skipbutton:hover {
    color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
}

.introjs-skipbutton::before {
    content: '✕' !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

.introjs-donebutton {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #fff !important;
}

.introjs-donebutton:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
}

.introjs-helperLayer {
    background: rgba(0, 0, 0, 0.5) !important;
}

.introjs-tooltipReferenceLayer {
    background: transparent !important;
}

.introjs-arrow {
    border-color: #fff transparent transparent transparent !important;
}

.introjs-arrow.bottom {
    border-color: transparent transparent #fff transparent !important;
}

.introjs-arrow.left {
    border-color: transparent transparent transparent #fff !important;
}

.introjs-arrow.right {
    border-color: transparent #fff transparent transparent !important;
}

/* Shake Animation */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* Password Toggle (Eye Icon) */
.w7-password-wrapper {
    position: relative;
    display: block;
}

.w7-password-wrapper input[type="password"],
.w7-password-wrapper input[type="text"] {
    padding-right: 50px !important;
    width: 100%;
}

.w7-password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #666;
    font-size: 18px;
    line-height: 1;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.w7-password-toggle:hover {
    color: #667eea;
}

.w7-password-toggle:focus {
    outline: none;
    color: #667eea;
}

.w7-password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}