:root {
    --rt-primary: #C54B80;
    --rt-primary-hover: #B03D6F;
    --rt-primary-dark: #8F2F57;
    --rt-primary-light: #E58AB1;

    --rt-text: #2d3748;
    --rt-muted: #718096;

    --rt-white: #ffffff;
    --rt-border: #d9dfe7;

    --rt-danger-bg: #fff1f6;
    --rt-danger-text: #8f2f57;
    --rt-danger-border: #f5b7cf;

    --rt-warning-bg: #fff8e7;
    --rt-warning-text: #8a6a00;
    --rt-warning-border: #f5d98b;
}

/* ==================================================
RESET
================================================== */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* ==================================================
BODY
================================================== */

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: var(--rt-text);

    background: linear-gradient(
        135deg,
        #8F2F57 0%,
        #A93B68 30%,
        #C54B80 65%,
        #D86D99 100%
    );

    overflow-x: hidden;
    position: relative;
}

/* ==================================================
DECORACIÓN DE FONDO
================================================== */

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body::before {
    width: 450px;
    height: 450px;
    top: -180px;
    right: -180px;
    background: rgba(255,255,255,.08);
}

body::after {
    width: 300px;
    height: 300px;
    bottom: -120px;
    left: -120px;
    background: rgba(255,255,255,.05);
}

/* ==================================================
WRAPPER
================================================== */

#wrapper {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 15px;
    position: relative;
    z-index: 1;
}

.login-register {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ==================================================
CARD LOGIN
================================================== */

.login-box {
    width: 100%;
    max-width: 420px;
    height: 450px;
}

.login-box.card,
.login-card {
    background: #ffffff;
    border: 0;
    border-radius: 6px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .12),
        0 3px 10px rgba(0, 0, 0, .08);

    overflow: hidden;
}

.card-body {
    padding: 40px;
}

/* ==================================================
LOGO
================================================== */

.marca-login {
    display: block;
    width: 220px;
    max-width: 100%;
    margin: 0 auto 35px;
}

/* ==================================================
FORMULARIO
================================================== */

.form-group {
    margin-bottom: 18px;
}

.form-control {
    height: 44px;

    border: 1px solid var(--rt-border);
    border-radius: 4px;

    background: #fff;
    color: var(--rt-text);

    font-size: 14px;

    box-shadow: none;
    transition: all .2s ease;
}

.form-control:focus {
    border-color: var(--rt-primary);

    box-shadow:
        0 0 0 3px rgba(197, 75, 128, .12);

    outline: 0;
}

.form-control::placeholder {
    color: #94a3b8;
}

/* ==================================================
BOTÓN LOGIN
================================================== */

.btn-success {
    height: 44px;

    border: 0;
    border-radius: 4px;

    background: linear-gradient(
        180deg,
        var(--rt-primary),
        var(--rt-primary-hover)
    );

    color: #fff;

    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;

    transition: background .2s ease;
}

.btn-success:hover,
.btn-success:focus {
    background: linear-gradient(
        180deg,
        var(--rt-primary-hover),
        var(--rt-primary-dark)
    );

    color: #fff;
}

.btn-success:active {
    background: var(--rt-primary-dark);
}

/* ==================================================
ALERTAS
================================================== */

.alert {
    border-radius: 4px;
    border-width: 1px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.alert-danger {
    background: var(--rt-danger-bg);
    color: var(--rt-danger-text);
    border-color: var(--rt-danger-border);
}

.alert-warning {
    background: var(--rt-warning-bg);
    color: var(--rt-warning-text);
    border-color: var(--rt-warning-border);
}

.alert .close {
    opacity: .7;
}

.alert .close:hover {
    opacity: 1;
}

/* ==================================================
ENLACES
================================================== */

a {
    color: var(--rt-primary);
    text-decoration: none;
}

a:hover {
    color: var(--rt-primary-dark);
    text-decoration: none;
}

/* ==================================================
FOOTER
================================================== */

.text-center small {
    display: block;
    margin-top: 25px;

    color: #6b7280;
    font-size: 12px;
}

/* ==================================================
CANVAS
================================================== */

canvas.background {
    position: fixed;
    inset: 0;
    z-index: -1;
}

/* ==================================================
RESPONSIVE
================================================== */

@media (max-width: 576px) {

    .card-body {
        padding: 25px;
    }

    .marca-login {
        width: 180px;
        margin-bottom: 25px;
    }

    .form-control,
    .btn-success {
        height: 42px;
    }
}