.wrapdk {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}
.wrapdk .circle-deco {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    filter: blur(80px);
}
.wrapdk .circle-1 {
    width: 400px;
    height: 400px;
    background: var(--theme-color5);
    top: -100px;
    right: -100px;
}
.wrapdk .circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(77, 182, 172, 0.1);
    bottom: -50px;
    left: -50px;
}

.wrapdk .auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1100px;
}

.wrapdk .auth-card {
    background: #ffffff; /* Đã thay var(--white) */
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: row;
}

.wrapdk .auth-info-side {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    padding: 60px;
    color: #ffffff; /* Đã thay var(--white) */
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.wrapdk .auth-info-side::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.wrapdk .auth-form-side {
    padding: 60px;
    width: 60%;
    background: #ffffff; /* Đã thay var(--white) */
}

.wrapdk h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1e293b; /* Đã thay var(--text-main) */
    margin-bottom: 8px;
}

.wrapdk .subtitle {
    color: #64748b; /* Đã thay var(--text-muted) */
    margin-bottom: 32px;
    font-size: 1rem;
}

.wrapdk .form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b; /* Đã thay var(--text-main) */
    margin-bottom: 8px;
}

.wrapdk .input-group-custom {
    position: relative;
    margin-bottom: 20px;
}

.wrapdk .form-control {
    height: 56px;
    background: #f1f5f9;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #1e293b; /* Đã thay var(--text-main) */
}

.wrapdk .form-control:focus {
    background: #ffffff; /* Đã thay var(--white) */
    border-color: var(--theme-color);
    box-shadow: 0 0 0 4px var(--theme-color5);
    outline: none;
}

.wrapdk .password-wrapper {
    position: relative;
}

.wrapdk .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b; /* Đã thay var(--text-muted) */
    transition: color 0.3s;
    z-index: 10;
    padding: 5px;
}

.wrapdk .toggle-password:hover {
    color: var(--theme-color);
}

.wrapdk .btn-register {
    background: var(--theme-color);
    color: #ffffff; /* Đã thay var(--white) */
    border: none;
    height: 56px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    margin-top: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px -5px rgba(255, 77, 141, 0.4);
}

.wrapdk .btn-register:hover {
    background: var(--theme-color2);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(255, 77, 141, 0.5);
    color: #ffffff; /* Đã thay var(--white) */
}

.wrapdk .divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #64748b; /* Đã thay var(--text-muted) */
    font-size: 0.85rem;
    font-weight: 500;
}

.wrapdk .divider::before,
.wrapdk .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.wrapdk .divider:not(:empty)::before { margin-right: 15px; }
.wrapdk .divider:not(:empty)::after { margin-left: 15px; }

.wrapdk .btn-google {
    background: #ffffff; /* Đã thay var(--white) */
    border: 2px solid #e2e8f0;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #1e293b; /* Đã thay var(--text-main) */
    width: 100%;
}

.wrapdk .btn-google:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.wrapdk .btn-google img {
    width: 20px;
}

.wrapdk .login-link {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #64748b; /* Đã thay var(--text-muted) */
}

.wrapdk .login-link a {
    color: var(--theme-color3);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.wrapdk .login-link a:hover {
    color: var(--theme-color4);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.wrapdk .animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .wrapdk .container { max-width: 95%; }
}

@media (max-width: 1000px) {
    .wrapdk .auth-card { flex-direction: column; }
    .wrapdk .auth-info-side { width: 100%; padding: 40px; }
    .wrapdk .auth-form-side { width: 100%; padding: 40px; }
}

@media (max-width: 992px) {
    .wrapdk section { padding: 3rem 0; } 
}

@media (max-width: 768px) {
    .wrapdk h2 { font-size: 1.75rem !important; }
    .wrapdk .auth-form-side { padding: 30px 20px; }
    .wrapdk .auth-info-side { padding: 40px 20px; text-align: center; }
}

@media (max-width: 576px) {
    .wrapdk { padding: 20px 10px; }
    .wrapdk h2 { font-size: 1.5rem !important; }
    .wrapdk .subtitle { font-size: 0.9rem !important; }
    .wrapdk .form-control { height: 50px; }
    .wrapdk .btn-register, .wrapdk .btn-google { height: 50px; }
}