/* microspace-v1.0.1a */
html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    color: #1a1a1a;
    overflow-x: hidden;
    font-family: "Montserrat" !important;
}

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

.container-activation {
    display: flex;
    height: 100%;
    width: 100%;
}

/* LEFT PANEL */
.left {
    width: 45%;
    background: linear-gradient(to top right, #44077e, #01184b);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    position: relative;
}

.text-container {
    z-index: 10;
    margin-left: 4rem;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
}

/* RIGHT PANEL — now the sole surface, no nested card */
.right {
    flex: 1;
    background: #ffffff; /* was #e7e5fb */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

/* CONTENT COLUMN — just a width limiter, no card */
.main-content-container {
    width: 100%;
    max-width: 420px;
    /* removed: background, border-radius, box-shadow, padding */
}

/* FORM */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: #44077e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(68, 7, 126, 0.1);
}

.form-text {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.text-danger {
    color: #e74c3c !important;
}
.text-success {
    color: #27ae60 !important;
}

.btn-primary {
    background: linear-gradient(135deg, #44077e, #6c2cc8);
    color: white;
    font-weight: 600;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:disabled {
    background: #cfcfcf;
    cursor: not-allowed;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 7, 126, 0.3);
}

.text-center {
    text-align: center;
}

#togglePassword {
    border-color: #dee2e6;
    display: flex;
    align-items: center;
}

#togglePassword:hover {
    background-color: transparent !important;
    color: #0d6efd !important;
}

#password:focus {
    border-color: #dee2e6;
    box-shadow: none;
}

@media (max-width: 801px) {
    .container-activation {
        flex-direction: column;
    }

    .left {
        width: 100%;
        padding: 5%;
    }

    .text-container {
        margin: 0;
    }

    .subtitle {
        font-size: 1rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .right {
        width: 100%;
        flex: 1;
        margin: 0;
        padding: 2rem 1.5rem; /* tighter on mobile since no card inset */
        align-items: flex-start; /* top-align on mobile so form isn't floating mid-screen */
    }

    .main-content-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .form-control {
        padding: 0.6rem 0.9rem;
        font-size: 0.95rem;
    }

    .btn-primary {
        width: 100%;
        padding: 0.75rem;
    }
}
