        body {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            background-color: #fff;
        }

        .form-container {
            width: 100%;
            max-width: 400px;
            padding: 20px;
        }


        .form-container {
            background-color: white;
            padding: 2.5rem;
            max-width: 420px;
            width: 100%;
            transition: all 0.3s ease;
        }

        /* Title Styling */
        .form-container h1 {
            text-align: center;
            margin-bottom: 1.8rem;
            font-weight: 600;
            letter-spacing: -0.5px;
        }

        /* Form Styling */
        .form-container form {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        /* Input Fields Styling */
        .form-container input:not([type="checkbox"]) {
            width: 100%;
            padding: 12px 16px;
            margin: 1px 0;
            border: 2px solid #eaeaea;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s ease;
            outline: none;
        }

        .form-container input:not([type="checkbox"]):focus {
            border-color: #0064d2;
            box-shadow: 0 0 0 3px #014084;
        }

        /* Django form paragraphs */
        .form-container form p {
            margin-bottom: 1px;
            width: 100%;
        }

        /* Label styling */
        .form-container label {
            display: block;
            margin-bottom: 5px;
            font-size: 16px;
            color: #333;
        }

        /* Remember Me Styling */
        .remember-me-container {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin: 8px 0;
        }

        .form-check-input {
            width: 18px !important;
            height: 18px !important;
            accent-color: #0064d2;
            cursor: pointer;
        }

        .form-check-label {
            font-size: 15px;
            color: #555;
            cursor: pointer;
        }

        /* Button Styling */
        .btn-login {
            width: 100%;
            background-color: #0064d2;
            color: white;
            padding: 14px;
            font-size: 17px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            box-shadow: 0 4px 12px #014084;
        }

        .btn-login:hover {
            background-color: #0064d2;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px #014084;
        }

        .btn-login:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px #014084;
        }

        /* Links Container */
        .links-container {
            display: flex;
            flex-direction: column;
            margin-top: 1.5rem;
        }

        /* Link Styling */
        .signup-link {
            text-align: center;
            display: block;
            font-size: 15px;
            color: #0064d2;
            text-decoration: none;
            transition: all 0.2s ease;
            word-wrap: break-word;
        }

        .signup-link:hover {
            color: #0064d2;
            text-decoration: underline;
        }

        /* Error messages styling */
        .errorlist {
            color: #e74c3c;
            list-style: none;
            font-size: 14px;
            margin-bottom: 5px;
            padding-left: 5px;
        }
        .boton-login{
            width: 100%;
            background-color: #0064d2;
            color: white;
            padding: 14px;
            font-size: 17px;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            box-shadow: 0 4px 12px #014084;
        }
        .btn-signup:hover {
            background-color: #0064d2;
            transform: translateY(-2px);
            box-shadow: 0 6px 15px #014084;
        }

        .btn-signup:active {
            transform: translateY(0);
            box-shadow: 0 2px 8px #014084;
        }

        @media (max-width: 768px) {
            .form-container{
                padding: 20px 40px;
            }
          }
