/* Admin Panel Styles */

/* Views */
.view {
    display: none;
}

.view.active {
    display: block;
}

/* Input Fields */
.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.input-field:disabled,
.input-field[readonly] {
    background-color: #f9fafb;
    cursor: not-allowed;
}

/* Funnel Card */
.funnel-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.funnel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.funnel-card .status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.funnel-card .status.draft {
    background: #fef3c7;
    color: #92400e;
}

.funnel-card .status.published {
    background: #d1fae5;
    color: #065f46;
}

.funnel-card .status.archived {
    background: #e5e7eb;
    color: #374151;
}

/* Saved Link Item */
.link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.link-item .link-name {
    font-weight: 500;
}

.link-item .link-actions {
    display: flex;
    gap: 0.5rem;
}

.link-item .link-actions button {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s;
}

/* Toast Animation */
#toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Loading Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .funnel-card {
        padding: 1rem;
    }
}
