/*
================================================================
||
||  Providential Clover: Admin-Only Styles
||  Version: 1.0
||
================================================================
*/

/* Style for the text content admin edit buttons */
.admin-edit-btn {
    position: absolute;
    top: 0;
    right: -30px;
    background-color: #e6007e; /* Pink color */
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.2s ease;
    z-index: 99; /* Ensure it's on top */
}

.admin-edit-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Style for the image content admin edit buttons */
.admin-edit-btn-image {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #007cba; /* Blue color */
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.2s ease;
    z-index: 99; /* Ensure it's on top */
}

.admin-edit-btn-image:hover {
    opacity: 1;
    transform: scale(1.1);
}
/* --- Styles for Contextual Admin Buttons --- */

/* General button for single product pages etc. */
.admin-context-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease;
}
.admin-context-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Edit button for product cards on store/collection pages */
.admin-product-card-edit-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    opacity: 0.7;
}
.admin-product-card-edit-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background-color: #fff;
}
