/* CF Page or Post Duplicator - Dashboard Styles */

/* Notice de Doação - Canto Inferior Direito */
.cf-donation-modern-notice {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    border: 1px solid #ff9800;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(255, 152, 0, 0.3);
    z-index: 999999;
    transition: all 0.3s ease;
    animation: slideInFromRight 0.5s ease-out;
}

.cf-donation-modern-notice:hover {
    box-shadow: 0 6px 24px rgba(255, 152, 0, 0.4);
    transform: translateY(-2px);
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.cf-donation-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.cf-donation-image img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.cf-donation-text {
    flex: 1;
}

.cf-donation-text strong {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.3;
}

.cf-donation-text span {
    display: block;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.cf-donation-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cf-donation-buttons a.button-primary {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
    display: block;
}

.cf-donation-buttons a.button-primary:hover {
    background: linear-gradient(135deg, #00a0d2 0%, #0073aa 100%);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
    transform: translateY(-1px);
}

.cf-donation-buttons a.cf-notice-dismiss {
    color: #999;
    text-decoration: none;
    font-size: 11px;
    text-align: center;
    transition: color 0.2s ease;
    padding: 5px;
    display: block;
}

.cf-donation-buttons a.cf-notice-dismiss:hover {
    color: #666;
    text-decoration: underline;
}

/* Dashboard Donation Section */
.cf-dashboard-donation {
    border: 1px solid #ff9800;
    background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
}

.cf-dashboard-donation-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cf-dashboard-donation-image img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cf-dashboard-donation-text strong {
    display: block;
    font-size: 15px;
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.cf-dashboard-donation-text span {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.cf-dashboard-donation-buttons {
    display: flex;
    gap: 10px;
}

.cf-dashboard-donation-buttons a.button-primary {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    border-radius: 5px;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 115, 170, 0.2);
}

.cf-dashboard-donation-buttons a.button-primary:hover {
    background: linear-gradient(135deg, #00a0d2 0%, #0073aa 100%);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
    transform: translateY(-1px);
}

/* Chart Container */
#cloneChart {
    max-height: 250px;
    width: 100%;
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tabelas do Dashboard */
.wp-list-table.cf-clone-table {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wp-list-table.cf-clone-table thead th {
    background: linear-gradient(135deg, #0073aa 0%, #005a87 100%);
    color: #fff;
    font-weight: 600;
    padding: 12px 15px;
}

.wp-list-table.cf-clone-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Dashboard Headers */
h2.cf-dashboard-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

/* Responsive Design */
@media screen and (max-width: 782px) {
    .cf-donation-modern-notice {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
    
    .cf-dashboard-donation {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cf-dashboard-donation-buttons {
        width: 100%;
    }
    
    .cf-dashboard-donation-buttons a.button-primary {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .cf-donation-modern-notice {
        bottom: 0;
        right: 0;
        left: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
}