* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f5f5 50%, #fff3e0 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Background Circles */
.bg-circle {
    position: fixed;
    border-radius: 50%;
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.bg-circle.one {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #004F80, #0073b6);
    top: -120px;
    right: -120px;
    animation: float 18s ease-in-out infinite;
}

.bg-circle.two {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #FFD166, #ffb938);
    bottom: -100px;
    left: -100px;
    animation: float 14s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Back Home */
.back-home {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #004F80;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 79, 128, 0.1);
    transition: all 0.3s;
}

.back-home:hover {
    transform: translateX(-3px);
    color: #0073b6;
}

/* Register Layout */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 10px;
}

.register-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 30px 25px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 79, 128, 0.12);
    animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.register-header {
    text-align: center;
    margin-bottom: 20px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #004F80, #0073b6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 6px 20px rgba(0, 79, 128, 0.2);
}

.logo-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.register-header h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2332;
}

.register-header p {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Alerts */
.alert-custom, .alert-success {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.alert-custom {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.alert-success {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

/* Form */
.form-group {
    margin-bottom: 12px;
}

.form-group label {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 500;
    margin-bottom: 4px;
    display: block;
}

.form-group input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    background: #fff;
    transition: all 0.2s;
}

.form-group input:focus {
    border-color: #004F80;
    box-shadow: 0 0 0 2px rgba(0, 79, 128, 0.1);
    outline: none;
}

/* Password Field */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #004F80, #0073b6);
    border: none;
    border-radius: 30px;
    color: #fff;
    padding: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 79, 128, 0.25);
}

/* Footer */
.register-footer {
    text-align: center;
    margin-top: 15px;
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
}

.register-footer p {
    font-size: 0.8rem;
    color: #6b7280;
}

.register-footer a {
    color: #004F80;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.register-footer a:hover {
    color: #0073b6;
}
