/* YouTube Exchange Styles */

.rb-youtube-manage {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.rb-youtube-form .form-group {
    margin-bottom: 20px;
}

.rb-youtube-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.rb-youtube-form input[type="url"],
.rb-youtube-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.rb-youtube-form input[type="url"]:focus,
.rb-youtube-form input[type="text"]:focus {
    outline: none;
    border-color: #FF0000;
}

.rb-youtube-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.rb-youtube-channel-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #FF0000;
}

.rb-youtube-partners-header {
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.token-info {
    margin-top: 15px;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    font-size: 16px;
}

.rb-youtube-no-channels {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.rb-youtube-subscribed {
    margin-top: 40px;
}

.rb-youtube-subscriptions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.rb-youtube-subscriptions-table th {
    background: #f1f5f9;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    color: #333;
}

.rb-youtube-subscriptions-table td {
    padding: 12px 15px;
    border-top: 1px solid #e2e8f0;
}

.rb-youtube-subscriptions-table tr:hover {
    background: #f8fafc;
}

.button-small {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.button-small.reject {
    background: #fee2e2;
    color: #dc2626;
}

.rb-youtube-stats {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.channel-info-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 5px solid #FF0000;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.stats-table th {
    background: #f1f5f9;
    padding: 15px;
    text-align: left;
    font-weight: bold;
    color: #333;
}

.stats-table td {
    padding: 12px 15px;
    border-top: 1px solid #e2e8f0;
}

.stats-table tr:hover {
    background: #f8fafc;
}

.recent-subscriptions {
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rb-youtube-dashboard {
        padding: 10px;
    }
    
    .rb-youtube-btn {
        width: 100%;
        text-align: center;
    }
    
    .rb-youtube-subscriptions-table,
    .stats-table {
        font-size: 14px;
    }
    
    .rb-youtube-subscriptions-table th,
    .rb-youtube-subscriptions-table td,
    .stats-table th,
    .stats-table td {
        padding: 8px 10px;
    }
}

/* WooCommerce My Account Integration */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--youtube-exchange a::before {
    content: "🎥";
    margin-right: 8px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--youtube-subscriptions a::before {
    content: "📊";
    margin-right: 8px;
}