/* GUID Generator specific styles */

/* Animation effects */
.guid-animation-fade {
    animation: guidFadeIn 0.3s ease-in-out;
}

@keyframes guidFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.guid-new-guids {
    animation: guidSlideDown 0.4s ease-out;
}

@keyframes guidSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Preview section styling */
.guid-preview {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.2s ease;
}

.guid-preview code {
    background-color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid #e2e8f0;
    display: inline-block;
    width: 100%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.guid-preview-highlight {
    background-color: rgba(16, 185, 129, 0.1) !important;
    transition: background-color 0.5s ease;
}

/* Container for the GUID list with table-like styling */
.guid-container {
    display: flex;
    flex-direction: column;
    max-height: 500px;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Header row styling */
.guid-header {
    font-weight: 600;
    font-size: 0.875rem;
    color: #64748b;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
}

.guid-header>div:first-child {
    width: 50px;
    flex-shrink: 0;
}

.guid-header>div:nth-child(2) {
    flex-grow: 1;
}

.guid-header>div:nth-child(3) {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
}

.guid-header>div:last-child {
    width: 70px;
    flex-shrink: 0;
    text-align: center;
}

/* Row styling with enhanced aesthetics */
.guid-row {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease-in-out;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
}

.guid-row>div:first-child {
    width: 50px;
    flex-shrink: 0;
}

.guid-row>div:nth-child(2) {
    flex-grow: 1;
    overflow-x: auto;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.guid-row>div:nth-child(3) {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
}

.guid-row>div:last-child {
    width: 70px;
    flex-shrink: 0;
    text-align: center;
}

.guid-row:last-child {
    border-bottom: none;
}

.guid-row:hover {
    background-color: rgba(59, 130, 246, 0.05) !important;
}

/* Copied GUID styling with improved visual feedback */
.guid-copied {
    background-color: rgba(16, 185, 129, 0.05) !important;
    transition: background-color 0.5s ease;
}

.guid-copied:hover {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

/* Badge animation with smoother transition */
.badge {
    animation: guidBadgeFadeIn 0.3s ease-in-out;
    font-weight: 500;
}

@keyframes guidBadgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollable list with enhanced scrollbar */
.guid-list {
    overflow-y: auto;
    max-height: 400px;
    scrollbar-width: thin;
}

.guid-list::-webkit-scrollbar {
    width: 6px;
}

.guid-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.guid-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.guid-list::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Empty state styling */
.guid-empty-state {
    border: 1px dashed #ccc;
    border-radius: 0.5rem;
    color: #64748b;
}

.guid-empty-state i {
    opacity: 0.5;
}