@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    /* PERUBAHAN 1: Padding diperbesar agar tidak mepet */
    padding: 50px; 
    width: 100%;
    max-width: 600px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-sizing: border-box; /* Pastikan padding dihitung dalam lebar total */
}

/* ... Style Profile, Header, dll tetap sama ... */
.profile, .header, .link-item, .social-icons {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.profile .logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.header h1 {
    font-size: 1.8em;
    font-weight: 600;
    margin: 0;
    color: #2c3e50;
}

.header p {
    font-size: 1em;
    color: #7f8c8d;
    margin-top: 5px;
    margin-bottom: 25px;
}

/* Style Formulir */
form {
    text-align: left;
    margin-top: 20px;
    width: 100%;
}

.form-group {
    margin-bottom: 20px; /* Jarak antar input diperlebar sedikit */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.95em;
}

label i {
    margin-right: 5px;
    color: #3498db;
}

input, textarea {
    width: 100%;
    padding: 14px; /* Padding dalam input diperbesar sedikit */
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    background-color: rgba(255, 255, 255, 0.8);
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #3498db;
    outline: none;
    background-color: #fff;
}

.submit-btn {
    width: 100%;
    background-color: #3498db;
    color: white;
    padding: 15px;
    margin-top: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    background-color: #2980b9;
}

.social-icons {
    margin: 30px 0;
}

.social-icons a {
    color: #34495e;
    font-size: 1.5em;
    margin: 0 15px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: #3498db;
}

footer {
    font-size: 0.9em;
    color: #95a5a6;
}

/* --- STYLE UNTUK POPUP MODAL (BARU) --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: zoomIn 0.3s;
    position: relative;
}

@keyframes zoomIn {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modal-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.success-icon { color: #2ecc71; }
.error-icon { color: #e74c3c; }

.modal-ok-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 20px;
    transition: background 0.3s;
}

.modal-ok-btn:hover {
    background-color: #2980b9;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .container {
        /* Padding sedikit lebih kecil di HP tapi tetap lega */
        padding: 30px; 
    }
}