/* Import Font Chakra Petch dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap');

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    border-left: none;
    border-right: none;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    border: none;
    outline: none;
}

/* Page Background */
body {
    background-color: #0c0026;
    background-image: none;
    border: none;
    outline: none;
}

/* Remove borders from all elements */
header, nav, div, section, article, aside, footer {
    border: none;
    outline: none;
    border-left: none;
    border-right: none;
}

/* Register Container */
.register-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    background: linear-gradient(180deg, rgba(12, 0, 38, 0.8) 0%, rgba(12, 0, 38, 0.95) 100%);
    position: relative;
}

.register-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 70%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Register Card */
.register-card {
    background: linear-gradient(135deg, rgba(1, 198, 243, 0.05) 0%, rgba(18, 139, 209, 0.05) 100%);
    border: 1px solid rgba(1, 198, 243, 0.3);
    border-radius: 0;
    padding: 40px;
    width: 60%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    flex: 0 0 60%;
}

/* Logo Box */
.logo-box {
    background: linear-gradient(135deg, rgba(1, 198, 243, 0.05) 0%, rgba(18, 139, 209, 0.05) 100%);
    border: 1px solid rgba(1, 198, 243, 0.3);
    border-left: none;
    border-radius: 0;
    padding: 40px;
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(1, 198, 243, 0.05), transparent);
    transition: left 0.5s ease;
}

.logo-box:hover::before {
    left: 100%;
}

.logo-box img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(1, 198, 243, 0.5));
}

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

/* Animated Text */
.animated-text {
    margin-top: 30px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #01c6f3;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        text-shadow: 0 0 10px rgba(1, 198, 243, 0.5);
        opacity: 0.8;
    }
    to {
        text-shadow: 0 0 20px rgba(1, 198, 243, 0.8), 0 0 30px rgba(1, 198, 243, 0.6);
        opacity: 1;
    }
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #01C6F3;
}

.checkbox-text {
    font-size: 14px;
    color: #b8c6db;
    line-height: 1.5;
}

.terms-link {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    color: #01C6F3;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.terms-link:hover {
    color: #128BD1;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(1, 198, 243, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-box {
        display: none;
    }

    .register-card {
        flex: 0 0 100%;
        width: 100%;
    }

    .register-wrapper {
        width: 100%;
    }
}

.register-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(1, 198, 243, 0.05), transparent);
    transition: left 0.5s ease;
}

.register-card:hover::before {
    left: 100%;
}

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

.register-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #01c6f3;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
    text-shadow: 0 0 20px rgba(1, 198, 243, 0.5);
}

.register-subtitle {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 16px;
    color: #ffffff;
    opacity: 0.8;
    margin: 0;
}

/* Form Styles */
.register-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(1, 198, 243, 0.3);
    border-radius: 0;
    padding: 12px 15px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 16px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #01c6f3;
    box-shadow: 0 1px 0 0 #01c6f3;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Submit Button */
.btn-register {
    background: linear-gradient(135deg, #01c6f3 0%, #128bd1 100%);
    border: none;
    border-radius: 0;
    padding: 15px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(1, 198, 243, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(1, 198, 243, 0.5);
}

.btn-register:active {
    transform: translateY(0);
}

/* Error Messages */
.error-message {
    color: #ff4444;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    margin-top: 5px;
}

/* Login Link Container */
.login-link-container {
    margin-top: 20px;
    text-align: center;
}

.login-text {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    color: #b8c6db;
}

.login-link {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    color: #01c6f3;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.login-link:hover {
    color: #128bd1;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(1, 198, 243, 0.5);
}

/* Alert Messages */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid;
    border-radius: 4px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
}

.alert-error {
    background-color: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
    color: #ff4444;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.1);
    border-color: #4CAF50;
    color: #4CAF50;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-container {
        padding: 80px 15px 30px;
    }

    .register-card {
        padding: 30px 20px;
    }

    .register-title {
        font-size: 28px;
    }

    .register-subtitle {
        font-size: 14px;
    }

    .form-input {
        font-size: 14px;
        padding: 10px 12px;
    }

    .btn-register {
        font-size: 14px;
        padding: 12px;
    }
}
