/* Reset umum */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
}

/* Container utama */
.register-container {
    width: 100%;
    max-width: 350px;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    text-align: center;
}

/* Header */
.register-header img {
    width: 80px;
    margin-bottom: 10px;
}

.register-header h4 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #198754;
    margin-bottom: 0.5rem;
}

.register-header p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Alert (error/sukses) */
.alert {
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 0.9rem;
}

.alert-danger {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.alert-success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

/* Form */
form {
    margin-top: 10px;
    text-align: left;
}

.form-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 12px;
    display: block;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #198754;
    outline: none;
    box-shadow: 0 0 6px rgba(25,135,84,0.3);
}

/* Tombol */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #198754, #00b894);
    color: white;
    border: none;
    padding: 12px;
    margin-top: 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #157347, #00996e);
    transform: scale(1.03);
}

/* Link tambahan */
.register-links {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

.register-links a {
    color: #198754;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-links a:hover {
    color: #157347;
    text-decoration: underline;
}
