:root {
    --primary: #1a56db;
    --primary-light: #e1effe;
    --text: #111827;
    --light-text: #6b7280;
    --border: #e5e7eb;
    --error: #e02424;
    --success: #057a55;
    --bg: #f9fafb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    padding: 0;
}

.header {
    background-color: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center; 
    align-items: center;
    position: relative;
}

.logo {
    height: 70px;
}

.login-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    position: absolute; 
    right: 2rem;
}

.form-container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 0 2rem;
}

h1 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.75rem;
}

.form-description {
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9375rem;
}

label.required:after {
    content: " *";
    color: var(--error);
}

input, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9375rem;
    transition: all 0.2s;
    background-color: white;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

input::placeholder {
    color: #9ca3af;
    font-size: 0.875rem;
}

.input-hint {
    font-size: 0.8125rem;
    color: var(--light-text);
    margin-top: 0.25rem;
}

textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9375rem;
  min-height: 100px; /* Memberikan tinggi minimum */
  resize: vertical; /* Memungkinkan resize hanya vertikal */
  background-color: white;
  font-family: inherit;
  transition: all 0.2s;
}

textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

textarea::placeholder {
  color: #9ca3af;
  font-size: 0.875rem;
}

button {
    width: 100%;
    padding: 0.875rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

button:hover {
    background-color: #1640ac;
}

.response-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.9375rem;
    display: none;
}

.success {
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: var(--success);
}

.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--error);
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--light-text);
    font-size: 0.8125rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 640px) {
    .header {
    padding: 1rem;
    }
    
    .form-container {
    padding: 0 1rem;
    }
    
    h1 {
    font-size: 1.5rem;
    }
}