body {
    background-color: #047cc3;
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

/* =========================
   📦 CONTAINER
   ========================= */
.container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

/* =========================
   🧾 TITLES
   ========================= */
h1, h2 {
    color: #111827;
    margin-bottom: 10px;
    text-align: center;
}

/* =========================
   📐 LAYOUT
   ========================= */
.content {
    display: flex;
    width: 90%;
    align-items: flex-start;
}

/* =========================
   📤 IMAGE UPLOAD
   ========================= */
.image-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    text-align: center;
    color: #6b7280;
    margin-right: 20px;
    margin-top: 15px;
}

.image-upload input {
    display: none;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.upload-icon {
    font-size: 50px;
}

/* =========================
   🔘 CREATE BUTTON
   ========================= */
.create-button-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#create-button {
    background-color: #e0e7ff;
    border: none;
    color: #4f46e5;
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

#create-button:hover {
    background-color: #c7d2fe;
}

/* =========================
   📝 FORM
   ========================= */
.form-fields {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.form-fields label {
    color: #6b7280;
    margin-bottom: 5px;
}

.form-fields input,
.form-fields textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background-color: #ffffff;
    color: #111827;
    font-size: 14px;
}

.form-fields textarea {
    resize: vertical;
    min-height: 100px;
}

.form-fields input:focus,
.form-fields textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px #e0e7ff;
}

/* =========================
   💾 SAVE BUTTON
   ========================= */
#save-button {
    background-color: #4f46e5;
    border: none;
    color: white;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

#save-button:hover {
    background-color: #4338ca;
}

/* =========================
   📊 ACHIEVEMENTS GRID
   ========================= */
.table-container {
    width: 80%;
    max-width: 900px;
    margin-top: 20px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.table-container h1 {
    margin-bottom: 20px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.achievement-card {
    background-color: #fff6ef;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.achievement-card img {
    max-width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.achievement-card h3 {
    margin: 10px 0;
    font-size: 1.1rem;
}

.achievement-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 15px;
}

/* =========================
   🗑 DELETE BUTTON
   ========================= */
.delete-button {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.delete-button:hover {
    background-color: #dc2626;
}

/* =========================
   📱 RESPONSIVO
   ========================= */
@media (max-width: 768px) {

    .content {
        flex-direction: column;
        align-items: center;
    }

    .image-upload {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .container,
    .table-container {
        width: 95%;
    }
}
