.ezy-project-thumbnail {
    height: 200px !important;
    width: 100% !important;
}

.ezy-project-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.ezy-project-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    color: #1a202c;
}

.ezy-dashboard-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
    letter-spacing: -0.025em;
}

.ezy-project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    width: 100%;
}

.ezy-project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ezy-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.ezy-project-card:hover .ezy-project-thumbnail img:not(.ezy-fallback-image) {
    transform: scale(1.05);
}

.ezy-fallback-image {
    opacity: 0.8;
    object-fit: contain;
    padding: 1rem;
}

.ezy-project-details {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ezy-project-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    position: relative;
    overflow: visible;
}

.ezy-title-container {
    flex: 1;
    position: relative;
    min-width: 0;
}

.ezy-project-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ezy-inline-edit-form {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    max-width: calc(100% - 30px);
}

.ezy-title-container.editing .ezy-project-title {
    visibility: hidden;
}

.ezy-title-container.editing .ezy-inline-edit-form {
    display: flex;
    flex-wrap: nowrap;
}

.ezy-inline-edit-input {
    width: 0;
    min-width: 50px;
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    height: 24px;
    padding: 0 8px;
    box-sizing: border-box;
}

.ezy-inline-edit-actions {
    display: flex;
    margin-left: 4px;
    flex-shrink: 0;
}

.ezy-inline-save-btn,
.ezy-inline-cancel-btn {
    background: transparent;
    border: none;
    padding: 2px;
    margin: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    flex-shrink: 0;
}

.ezy-inline-save-btn {
    color: #38a169;
}

.ezy-inline-save-btn:hover {
    background: #f0fff4;
}

.ezy-inline-cancel-btn {
    color: #e53e3e;
}

.ezy-inline-cancel-btn:hover {
    background: #fff5f5;
}

.ezy-rename-btn {
    background: transparent;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.ezy-rename-btn:hover {
    color: #4a5568;
    background: #edf2f7;
}

.ezy-project-id {
    font-size: 0.475rem;
    color: #718096;
    margin-bottom: 1rem;
}

.ezy-project-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.ezy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.ezy-btn-primary {
    background: #111111;
    color: #ffffff;
    flex: 1;
}

.ezy-btn-primary:hover {
    background: rgba(17, 17, 17, 0.9);
    box-shadow: 0 4px 6px -1px rgba(51, 52, 52, 0.34);
}

.ezy-btn-secondary {
    background: #edf2f7;
    color: #4a5568;
}

.ezy-btn-secondary:hover {
    background: #e2e8f0;
}

.ezy-btn-danger {
    background: #ffffff;
    color: #e53e3e;
    border: 1px solid #edf2f7;
    width: 38px;
    height: 38px;
    padding: 0;
}

.ezy-btn-danger:hover {
    background: #fff5f5;
    color: #c53030;
    border-color: #fed7d7;
}

@media (max-width: 768px) {
    .ezy-project-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1rem;
    }

    .ezy-dashboard-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .ezy-project-grid {
        grid-template-columns: 1fr;
    }

    .ezy-project-dashboard {
        padding: 1.5rem 1rem;
    }
}