/* ==========================================================================
   GIFT REGISTRY MANAGE TEMPLATE STYLES
   ========================================================================== */

/* Registry Overview Section */
.gift-registry-stats {
    background: #f8f9fa;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.gift-registry-stats h3 {
    margin-top: 0;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-number.total {
    color: #007cba;
}

.stat-number.active {
    color: #28a745;
}

.stat-number.products {
    color: #ff6b35;
}

.stat-label {
    color: #666;
    font-size: 0.9em;
}

/* Registry List */
.registry-list {
    margin-top: 20px;
}

.registry-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.registry-item:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.registry-item h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.registry-item p {
    margin-bottom: 10px;
}

.registry-item .button {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 10px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.registry-item .button:hover {
    background: #005a87;
    color: white;
}

.registry-item .button-danger {
    background: #dc3545;
}

.registry-item .button-danger:hover {
    background: #c82333;
}

/* Registry URL Section */
.registry-url-section {
    background: #f0f8ff;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}

.registry-url-display {
    word-break: break-all;
    font-family: monospace;
    background: #fff;
    padding: 8px;
    border-radius: 3px;
    margin: 10px 0;
}

.registry-url-actions {
    margin-top: 10px;
}

.registry-url-actions .button {
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.5em;
    }
    
    .registry-item {
        padding: 15px;
    }
    
    .registry-item .button {
        display: block;
        margin: 5px 0;
        text-align: center;
    }
}
