body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f9f9f9;
}

.container {
    display: flex;
    width: 80%;
    height: 70%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.image-section {
    flex: 1;
    background: #000;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-section {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    width: 80%;
}

h2 {
    text-align: center;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.input-group select {
    background-color: white;
    cursor: pointer;
}

.input-group select:hover {
    border-color: #999;
}

.input-group select:focus {
    outline: none;
    border-color: #000;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

button:hover {
    background-color: #313236;
}

p {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

p a {
    color: #5c67f2;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 10px;
}

/* Styling untuk notifikasi */
.notification {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #4CAF50; /* Warna hijau untuk sukses */
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    z-index: 1000;
    animation: fadeIn 0.5s ease, fadeOut 0.5s ease 2.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Modal Notifikasi */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Background transparan */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal {
    background-color: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
}

.modal button {
    background-color: #303930; /* Warna hijau */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal button:hover {
    background-color: #031004; /* Warna hijau lebih terang saat hover */
}

/* Role Tabs Styling */
.role-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.role-tab {
    flex: 1;
    padding: 12px 20px;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    text-align: center;
}

.role-tab:hover {
    color: #000;
    background-color: #f5f5f5;
}

.role-tab.active {
    color: #000;
    border-bottom-color: #000;
    font-weight: bold;
    background-color: #f9f9f9;
}

/* Responsiveness */
@media (max-width: 1024px) {
    body {
        height: auto;
        padding: 20px 0;
        min-height: 100vh;
    }

    .container {
        flex-direction: column;
        width: 95%;
        height: auto;
        min-height: auto;
        max-width: 600px;
        margin: 0 auto;
    }

    .image-section {
        width: 100%;
        min-height: 200px;
        max-height: 250px;
    }

    .image-section img {
        object-fit: cover;
    }

    .form-section {
        width: 100%;
        padding: 24px 16px 32px;
    }

    .form-container {
        width: 100%;
        max-width: 520px;
    }

    .role-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .role-tab {
        flex: 1 1 calc(33.333% - 8px);
        min-width: 100px;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px 0;
    }

    .container {
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .image-section {
        min-height: 180px;
        max-height: 200px;
    }

    .form-section {
        padding: 20px 16px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .role-tabs {
        gap: 6px;
    }

    .role-tab {
        flex: 1 1 calc(33.333% - 6px);
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .container {
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    .image-section {
        min-height: 160px;
        max-height: 180px;
    }

    .form-section {
        padding: 16px 12px;
    }

    h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .input-group {
        margin-bottom: 16px;
    }

    .input-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .input-group input,
    .input-group select {
        font-size: 0.95rem;
        padding: 10px 12px;
    }

    button {
        font-size: 0.95rem;
        padding: 12px 16px;
    }

    p {
        font-size: 0.85rem;
    }

    .role-tabs {
        margin-bottom: 16px;
    }

    .role-tab {
        flex: 1 1 100%;
        padding: 10px;
        font-size: 0.85rem;
    }

    .modal {
        padding: 15px 20px;
    }

    .modal p {
        font-size: 1rem;
    }

    .modal button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .image-section {
        min-height: 140px;
        max-height: 160px;
    }

    h2 {
        font-size: 1.2rem;
    }

    .input-group input,
    .input-group select {
        font-size: 0.9rem;
        padding: 9px 10px;
    }

    button {
        font-size: 0.9rem;
        padding: 11px 14px;
    }
}
