/* Global styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;

    /* background-image: url("../img/bg.JPG"); */
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    
 
}

/* Container for login form */
.login-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* Heading */
h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Input field container */
.input-container {
    margin-bottom: 15px;
    text-align: left;
}

/* Labels for inputs */
.input-container label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

/* Input fields */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Button container */
.button-container {
    margin-top: 20px;
}

/* Button styling */
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

/* Button hover effect */
button:hover {
    background-color: #0056b3;
}

/* Error message styling */
#errorMessage {
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
}


h2 {
margin-bottom: 12px;
}


/* TAB HEADER */
.tabs {
display: flex;
gap: 6px;
border-bottom: 1px solid #e5e7eb;
margin-bottom: 16px;
}


.tab-btn {
padding: 8px 14px;
background: #e5e7eb;
border: none;
border-radius: 6px 6px 0 0;
cursor: pointer;
font-size: 12px;
color: #334155;
}


.tab-btn.active {
background: #ffffff;
border-bottom: 2px solid #0f766e;
color: #0f766e;
font-weight: 600;
}


/* TAB CONTENT */
.tab-content {
display: none;
background: #ffffff;
padding: 16px;
border-radius: 0 12px 12px 12px;
box-shadow: 0 2px 6px rgba(0,0,0,.05);
}


.tab-content.active {
display: block;
}


canvas {
max-height: 360px;
}


.logo {
    width: 150px;        /* ukuran logo */
    margin: 0 auto 15px; /* jarak bawah */
    display: block;
}
.logo {
    width: 120px;
}
