/* === Scoped Garage Sale Dashboard Styles === */
.garage-sale-dashboard {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Typography */
.garage-sale-dashboard h2 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    text-align: center;
}

.garage-sale-dashboard h2:after {
    background: linear-gradient(45deg, #3498db, #e74c3c);
    border-radius: 2px;
    bottom: -10px;
    content: '';
    height: 3px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 60px;
}

/* Buttons */
.garage-sale-dashboard .btn-primary-garage {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 25px;
    border: none;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.garage-sale-dashboard .btn-primary-garage:hover {
    background: linear-gradient(45deg, #2980b9, #3498db);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    transform: translateY(-2px);
}

.garage-sale-dashboard .btn-success {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    border-radius: 25px;
    border: none;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 30px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.garage-sale-dashboard .btn-success:hover {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    transform: translateY(-2px);
}

.garage-sale-dashboard .btn-outline-primary-my {
    border-radius: 20px;
    border: 2px solid #3498db;
    color: #3498db;
    font-weight: 600;
    transition: all 0.3s ease;
}

.garage-sale-dashboard .btn-outline-primary-my:hover {
    background: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    color: white;
    transform: translateY(-1px);
}

/* Forms */
.garage-sale-dashboard .container form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
    padding: 2.5rem;
}

.garage-sale-dashboard .form-group {
    margin-bottom: 1.5rem;
}

.garage-sale-dashboard .form-group label {
    color: #2c3e50;
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.garage-sale-dashboard .form-control {
    background: #fafbfc;
    border-radius: 10px;
    border: 2px solid #ecf0f1;
    font-size: 1rem;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.garage-sale-dashboard .form-control:focus {
    background: white;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

.garage-sale-dashboard .form-control-file {
    background: #fafbfc;
    border-radius: 10px;
    border: 2px dashed #bdc3c7;
    cursor: pointer;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.garage-sale-dashboard .form-control-file:hover {
    background: #f8f9ff;
    border-color: #3498db;
}

/* Sidebar */
.garage-sale-dashboard .sidebar-menu {
    background: linear-gradient(145deg, #fdfbfb, #ebedee);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1rem;
}

.garage-sale-dashboard .sidebar-menu h5 {
    color: #3498db;
    font-weight: 600;
}

.garage-sale-dashboard .sidebar-menu .nav-link {
    background-color: #ffffff;
    border-left: 4px solid transparent;
    border-radius: 6px;
    color: #2c3e50;
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
}

.garage-sale-dashboard .sidebar-menu .nav-link:hover {
    background: #3498db;
    border-left: 4px solid #2980b9;
    color: white;
}

/* Recent Sales Card */
.garage-sale-dashboard .recent-sales {
    background: #ffffff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.garage-sale-dashboard .recent-sales .card-header {
    background: linear-gradient(to right, #6dd5ed, #2193b0);
    color: white;
    font-weight: 600;
    padding: 1rem 1.25rem;
}

.garage-sale-dashboard .recent-sales .btn-outline-secondary {
    border-color: white;
    color: white;
    font-size: 0.85rem;
}

.garage-sale-dashboard .recent-sales .btn-outline-secondary:hover {
    background-color: white;
    color: #2193b0;
}

.garage-sale-dashboard .recent-sales .list-group-item {
    background: #f7f9fa;
    border: none;
    transition: background 0.3s ease;
}

.garage-sale-dashboard .recent-sales .list-group-item:hover {
    background: #ecf0f1;
}

/* Empty State */
.garage-sale-dashboard .text-muted.text-center i {
    color: #bdc3c7;
}

.garage-sale-dashboard .text-muted.text-center p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Floating Chat Button */
.garage-sale-dashboard .gs-floating-chat-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #3498db, #9b59b6);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.garage-sale-dashboard .gs-floating-chat-btn:hover {
    transform: scale(1.05);
}


.btn-update {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.2);
    min-width: 160px;
}

.btn-update:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.3);
    color: white;
}

.btn-update:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

.btn-delete {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(244, 67, 54, 0.2);
    text-decoration: none;
    display: inline-block;
    min-width: 160px;
    text-align: center;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(244, 67, 54, 0.3);
    color: white;
    text-decoration: none;
}

.btn-delete:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(244, 67, 54, 0.2);
}

/* For the icon spacing */
.btn-update i,
.btn-delete {
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 576px) {

    .btn-update,
    .btn-delete {
        min-width: 140px;
        padding: 10px 20px;
        font-size: 14px;
    }
}
