/* HivePress WooCommerce Pay-Per-Request - Frontend Styles */

/* Dashboard Container */
.hp-photographer-dashboard,
.hp-customer-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.hp-photographer-dashboard h2,
.hp-customer-dashboard h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0073aa;
}

/* Dashboard Sections */
.dashboard-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .dashboard-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

.dashboard-section {
    background: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.dashboard-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.dashboard-section h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #34495e;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
}

.dashboard-section h3::before {
    margin-right: 10px;
    font-size: 24px;
}

/* Lists */
.hp-requests-list,
.hp-messages-list,
.hp-orders-list,
.hp-offers-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hp-requests-list li,
.hp-messages-list li,
.hp-orders-list li,
.hp-offers-list li {
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
    transition: background-color 0.2s ease;
}

.hp-requests-list li:last-child,
.hp-messages-list li:last-child,
.hp-orders-list li:last-child,
.hp-offers-list li:last-child {
    border-bottom: none;
}

.hp-requests-list li:hover,
.hp-messages-list li:hover,
.hp-orders-list li:hover,
.hp-offers-list li:hover {
    background-color: #f8f9fa;
}

.hp-requests-list li a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.hp-requests-list li a:hover {
    color: #005177;
    text-decoration: underline;
}

.hp-requests-list li em {
    color: #7f8c8d;
    font-size: 14px;
    margin-left: 10px;
}

/* Messages */
.hp-messages-list li strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 5px;
}

/* Orders */
.hp-orders-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Profile Settings Form */
.hp-profile-settings-form {
    margin-top: 10px;
}

.hp-profile-settings-form h4 {
    margin: 0 0 15px 0;
    color: #34495e;
    font-size: 16px;
}

.hp-profile-settings-form p {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.hp-profile-settings-form label {
    display: block;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hp-profile-settings-form label:hover {
    background-color: #e9ecef;
}

.hp-profile-settings-form input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.hp-profile-settings-form button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hp-profile-settings-form button:hover {
    background-color: #005177;
}

/* Notice Messages */
.dashboard-section .notice {
    padding: 12px 15px;
    margin-bottom: 20px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    color: #155724;
}

/* Empty States */
.dashboard-section p {
    color: #7f8c8d;
    font-size: 14px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
    .hp-photographer-dashboard,
    .hp-customer-dashboard {
        padding: 15px;
    }

    .dashboard-section {
        padding: 20px 15px;
    }

    .dashboard-section h3 {
        font-size: 18px;
    }

    .hp-orders-list li {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Loading States */
.dashboard-section.loading {
    opacity: 0.6;
    pointer-events: none;
}

.dashboard-section.loading::after {
    content: "Lädt...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    color: #0073aa;
}

/* Button Styles */
.hp-button-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.hp-button-primary:hover {
    background-color: #005177;
    color: #ffffff;
}

/* Badges */
.hp-badge {
    display: inline-block;
    padding: 4px 10px;
    background-color: #e9ecef;
    color: #495057;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.hp-badge.hp-badge-success {
    background-color: #d4edda;
    color: #155724;
}

.hp-badge.hp-badge-warning {
    background-color: #fff3cd;
    color: #856404;
}

.hp-badge.hp-badge-danger {
    background-color: #f8d7da;
    color: #721c24;
}
.hp-listing__action--offer,.hp-page__sidebar .hp-menu__item--vendor-dashboard{
	display:none !important;
}