/* 
 * Trustlex My Account Dashboard Styles
 */

/* Hide default WooCommerce dashboard paragraphs */
.woocommerce-account.woocommerce-dashboard .woocommerce-MyAccount-content > p:first-child,
.woocommerce-account.woocommerce-dashboard .woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none;
}

.trustlex-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.trustlex-dashboard-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.trustlex-dashboard-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--trustlex-primary);
}

.trustlex-dashboard-box.inactive {
    background: #f8f9fa;
}

.trustlex-dashboard-box .box-icon {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--trustlex-primary);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--trustlex-success-bg);
}

.trustlex-dashboard-box.inactive .box-icon {
    color: var(--trustlex-text-secondary);
    background-color: #e9ecef;
}

.trustlex-dashboard-box .box-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
}

.trustlex-dashboard-box .box-content p {
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
    flex-grow: 1;
}

.trustlex-dashboard-box .box-footer {
    margin-top: 20px;
}

.trustlex-button {
    display: inline-block;
    background-color: var(--trustlex-primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
}

.trustlex-button:hover {
    background-color: #357a5e; /* Darker green */
    color: #fff !important;
}

.trustlex-dashboard-box.inactive .trustlex-button {
    background-color: var(--trustlex-text-secondary);
}

.trustlex-dashboard-box.inactive .trustlex-button:hover {
    background-color: #5a6268;
}

@media (max-width: 768px) {
    .trustlex-dashboard-grid {
        grid-template-columns: 1fr;
    }
} 