@font-face {
    font-family: "Segoe UI";
    src: url("https://strongcoin.app/auth/SegoeUI.ttf");
    font-style: normal;
    font-weight: normal;
}
body {
            width: 100%;
            margin: 0;
            padding: 0;
            font-family: Segoe UI, sans-sefif;
        }
        .form {
            max-width: 400px;
            margin: 10em auto;
            margin-top: 170px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            flex-direction: column;
            padding: 16px;
            padding-bottom: 25px;
            box-shadow: var(--shadow-small);
            --shadow-small: 0 5px 10px rgba(0,0,0,0.12);
            --shadow-medium: 0 8px 30px rgba(0,0,0,0.12);
            --shadow-large: 0 30px 60px rgba(0,0,0,0.12);
        }
        .form p {
            text-align: center;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
            font-size: 16px;
            font-weight: 700;
            line-height: 18px; 
        }
        form label {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.15;
            margin-bottom: 10px; 
            padding-bottom: 10px;
        }
        .form input {
            width: 95%;
            padding: 0.5em;
            font-size: 16px;
            border-radius: 2px;
            border: 1px solid rgba(40, 47, 55, 0.1);
            margin-bottom: 2em;
            margin-top: 1em;
        }
        .form button {
            width: 100%;
            background: #1d8bcf;
            border: none;
            height: 30px;
            color: #fff;
            border-radius: 5px;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
            font-size: 13px;
            font-weight: 400;
            margin-bottom: 12px;
            margin-top: 20px;
        }
        .form button:hover {
            background: #fff;
            color: #1d8bcf;
            border: 1px solid #1d8bcf;
        }
        .form a {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
            font-size: 12px;
            line-height: 14px;
            font-weight: 400;
            color: #0000ee;
            text-decoration: none;
            margin-bottom: 25px;
            padding-bottom: 25px;

        }
        .d404 {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
            font-weight: 800;
            font-size: 50px;
            text-align: center;
        }
        .error-message {
            color: red;
            text-align: center;
            margin-top: 15px;
            font-weight: bold;
        }
        input.error {
            border: 1px solid red;
        }
        input::placeholder {
            color: red;
        }
        input.error::placeholder {
            color: red;
        }
        .message {
            text-align: center;
            font-weight: bold;
            margin-top: 15px;
            color: #000;
        }
/* ======= Responsive Styles ======= */

@media (max-width: 768px) {
    .form {
        margin: 5em auto;
        padding: 20px;
        width: 80%;
        box-shadow: var(--shadow-small);
    }

    .form p {
        font-size: 18px;
        line-height: 22px;
    }

    .form label {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .form input {
        width: 90%;
        font-size: 15px;
    }

    .form button {
        font-size: 14px;
        height: 36px;
    }

    .form a {
        font-size: 12px;
        display: inline-block;
        margin: 10px 5px 0 5px;
    }
}

@media (max-width: 480px) {
    .form {
        margin-top: 80px;
        padding: 16px;
    }

    .form p {
        font-size: 16px;
    }

    .form label,
    .form input,
    .form button,
    .form a {
        font-size: 14px;
    }

    .form input {
        padding: 0.5em;
    }

    .form button {
        height: 34px;
    }

    .error-message, .message {
        font-size: 13px;
    }
}
