body {
    font-family: 'Roboto', Arial, sans-serif;
    background: linear-gradient(#000000 , #009baa, #000000 );
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    color: #000;
}

.container {
    background: linear-gradient(#000000 , #009baa, #000000 );
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    max-width: 600px;
    box-sizing: border-box;
}

h1 {
    color: #000;
    margin-bottom: 20px;
    font-size: 32px;
}

p {
    color: #000;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #000;
}

input[type="url"] {
    display: block;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #f9f9f9;
}

button[type="submit"] {
    background: linear-gradient(#000000 , #009baa, #000000 );
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

button[type="submit"]:hover {
    background: linear-gradient(#000000 , #009baa, #000000 );
}

.result-area {
    margin-top: 30px;
    padding: 20px;
    border: 1px dashed #009baa;
    border-radius: 8px;
    background: linear-gradient(#000000 , #009baa, #000000 );
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-area p {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: bold;
    color: #009baa;
}

.result-area input[type="text"] {
    width: calc(100% - 80px); /* Adjust width for copy button */
    padding: 10px 12px;
    border: 1px solid #cceeff;
    border-radius: 5px;
    font-size: 16px;
    background-color: #ffffff;
    text-align: center;
    margin-right: 10px;
    flex-grow: 1; /* Allow input to grow */
}

.result-area button#copyButton {
    background: linear-gradient(#000000 , #009baa, #000000 ); /* Green for copy */
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.result-area button#copyButton:hover {
    background: linear-gradient(#000000 , #009baa, #000000 );
}

/* Make input and button side by side */
.result-area > *:not(p):not(#message) {
    display: flex;
    width: 100%;
}


.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
    display: none; /* Hidden by default */
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    h1 {
        font-size: 28px;
    }
    button[type="submit"] {
        font-size: 16px;
        padding: 10px 20px;
    }
    .result-area input[type="text"] {
        font-size: 14px;
        padding: 8px 10px;
    }
    .result-area button#copyButton {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Tambahkan atau pastikan bagian ini ada di style.css Anda */
.login-container {
    max-width: 400px; /* Lebar yang lebih kecil untuk form login */
    margin: auto; /* Pusatkan di tengah */
    margin-top: 10vh; /* Sedikit lebih ke atas dari tengah vertikal */
}

.login-container button[type="submit"] {
    width: 100%; /* Tombol login 100% lebar */
    margin-top: 10px;
}

.logout-link {
    margin-top: 30px;
    text-align: right;
    padding-right: 20px; /* Sesuaikan jika container tidak ada padding */
}

.logout-link a {
    color: #009baa;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.logout-link a:hover {
    text-decoration: underline;
}