.create-main {
    background: url("../assets/martin.jpg") center/cover no-repeat;
    position: relative;
    min-height: 100vh;
    padding: 8rem 0 6rem;
    isolation: isolate;
}

.create-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 42, 30, 0.6) 0%,
        rgba(18, 42, 30, 0.85) 100%
    );
    z-index: 0;
}

.create-main > * {
    position: relative;
    z-index: 1;
}

.create-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 620px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.create-card h2 {
    margin-bottom: 1.5rem;
    color: #1f2933;
    font-size: 1.6rem;
}

/* TYPE TOGGLE */
.type-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: #f0f4f2;
    border-radius: 30px;
    padding: 4px;
}

.type-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 26px;
    background: transparent;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.type-btn.active {
    background: #2f6f4e;
    color: white;
    box-shadow: 0 2px 8px rgba(47, 111, 78, 0.35);
}

/* FORM */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1f2933;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2f6f4e;
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.divider {
    border: none;
    border-top: 1px solid #e8ede9;
    margin: 1.5rem 0;
}

.create-card h3 {
    font-size: 1rem;
    color: #2f6f4e;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2f6f4e;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.95rem;
    color: #333;
}

.form-error {
    background: #fdecea;
    color: #c0392b;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.image-upload-btns {
    display: flex;
    gap: 0.75rem;
}

.upload-btn {
    flex: 1;
    padding: 0.7rem;
    border: 2px dashed #c0d9c8;
    border-radius: 10px;
    background: #f4f9f6;
    color: #2f6f4e;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.upload-btn:hover {
    background: #e6f2eb;
    border-color: #2f6f4e;
}

#imagePreviewWrap {
    margin-top: 0.75rem;
    position: relative;
}

#imagePreview {
    width: 100%;
    border-radius: 10px;
    display: block;
    max-height: 300px;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.55);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 0.5rem;
}
