/* Form-specific styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #569cd6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;

    background: #1e1e1e;
    color: #d4d4d4;
    border: 1px solid #3e3e42;
    border-radius: 4px;

    font-family: 'Fira Code', monospace;
    font-size: 0.85rem;

    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ec9b0;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: #ffffff;
    color: #3a3a3a;
    border-color: #d4d4d4;
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    border-color: #569cd6;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Projects list */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

#projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-item {
    background: #1e1e1e;
    border: 1px solid #3e3e42;
    border-left: 4px solid #569cd6;
    border-radius: 6px;
    padding: 1.5rem;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(86, 156, 214, 0.2);
}

body.light-theme .project-item {
    background: #ffffff;
    border-color: #d4d4d4;
}

.project-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.project-item-index {
    color: #569cd6;
    font-weight: 700;
    font-size: 0.85rem;
}

.project-item-title {
    color: #6a9955;
    font-size: 1.1rem;
    font-weight: 700;
}

.project-item-description {
    color: #d4d4d4;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

body.light-theme .project-item-description {
    color: #3a3a3a;
}

.project-item-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-edit {
    background: transparent;
    color: #569cd6;
    border: 1px solid #569cd6;
}

.btn-edit:hover {
    background: #569cd6;
    color: #1e1e1e;
}

.btn-delete {
    background: transparent;
    color: #f48771;
    border: 1px solid #f48771;
}

.btn-delete:hover {
    background: #f48771;
    color: #1e1e1e;
}

/* Responsive */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .project-item {
        padding: 1rem;
    }

    .project-item-actions {
        flex-direction: column;
    }
}