/* ==========================================================================
   HK REGISTER PREMIUM INDUSTRIAL THEME
   ========================================================================== */

:root {
    --hk-navy: #0f172a;
    --hk-dark: #1e293b;
    --hk-warning: #f59e0b;
    --hk-bg: #f8fafc;
    --hk-text: #334155;
    --hk-border: #e2e8f0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--hk-text);
    overflow-x: hidden;
}

.hk-auth-page {
    background-color: var(--hk-navy);
    position: relative;
    overflow: hidden;
}

/* Background Effects */
.hk-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--hk-dark) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.2;
}

.hk-bg-glow {
    position: absolute;
    top: -20%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    z-index: 1;
}

/* Card Styling */
.hk-register-card {
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    position: relative;
    z-index: 10;
}

/* Sidebar Branding */
.hk-auth-sidebar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 60px;
    color: white;
    position: relative;
}

.hk-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.hk-logo-area i {
    font-size: 2rem;
    color: var(--hk-warning);
}

.hk-sidebar-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-top: 40px;
    line-height: 1.2;
}

.hk-sidebar-text {
    color: #94a3b8;
    margin-top: 20px;
    font-size: 1rem;
}

.hk-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hk-feature-item i {
    color: var(--hk-warning);
    font-size: 1.2rem;
}

/* Form Area */
.hk-form-area {
    padding: 60px;
}

.hk-form-title {
    font-weight: 800;
    color: var(--hk-navy);
    font-size: 2rem;
}

/* Upload Profile */
.hk-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hk-preview-container {
    position: relative;
}

.hk-preview-circle {
    width: 80px; height: 80px;
    background: #f1f5f9;
    border: 2px solid var(--hk-border);
    border-radius: 24px;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: #cbd5e1;
    overflow: hidden;
}

.hk-preview-circle img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.hk-upload-badge {
    position: absolute;
    bottom: -5px; right: -5px;
    width: 30px; height: 30px;
    background: var(--hk-warning);
    border-radius: 10px;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Inputs */
.hk-label {
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--hk-navy);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.hk-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.hk-input-group i {
    position: absolute;
    left: 15px;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* icon kiri */
.hk-input-group i:first-child {
    position: absolute;
    left: 15px;
    z-index: 2;
}

.hk-input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.hk-input:focus {
    background: #fff;
    border-color: var(--hk-warning);
    outline: none;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.05);
}

.hk-textarea {
    padding-top: 15px;
    resize: none;
}

/* Buttons & Links */
.hk-btn-primary {
    background: var(--hk-navy);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.hk-btn-primary:hover {
    background: var(--hk-warning);
    color: var(--hk-navy);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.2);
}

.hk-link-warning {
    color: var(--hk-warning);
    text-decoration: none;
    font-weight: 700;
}

.hk-link-warning:hover {
    text-decoration: underline;
}


/* Styling Tombol Mata (Toggle Password) */
.hk-toggle-password {
    position: absolute;
    right: 45px;
    top: 28%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    z-index: 3;
}

.hk-toggle-password:hover {
    color: var(--hk-warning);
}

.hk-input {
    /* Padding kanan ekstra agar teks tidak tertutup icon mata */
    padding-right: 45px !important;
}

/* Area Klik Profil */
.hk-preview-container:hover .hk-preview-circle {
    border-color: var(--hk-warning);
    background: #fff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hk-form-area { padding: 40px 20px; }
    .hk-sidebar-title { font-size: 1.8rem; }
}