body {
    background: linear-gradient(to top right, #240046, #9d4edd);
    /* min-height: 100vh; */
    margin: 0;
    font-family: "Afacad Flux", sans-serif;
    overflow: hidden;
}
.register {
    width: 86%;
    margin: auto;
}
.register-header {
    display: flex;
    justify-content: right;
    margin: 28px 0;
    align-items: center;
}
.register-header p {
    margin: 0;
    color: #c2c2c2;
    padding-right: 15px;
    font-size: 15px;
    font-weight: 500;
}
.register-header button {
    border: none;
    background: #401269;
    box-shadow: rgb(57 14 97) 0px 8px 24px;
    padding: 7px 8px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #fff;
    font-weight: 400;
}
.logo-name {
    color: #fff;
    text-align: center;
    font-size: 26px;
    font-weight: 500;
}
.register-form {
    background: #fff;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.register-form-header {
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}
.register-form-header h2 {
    margin: 26px 0 8px;
    font-weight: 600;
}
.register-form-header p {
    margin: 0;
    color: #6c757d;
    font-size: 16px;
    padding-bottom: 13px;
}
.register-form {
    min-height: 100vh;
}
.register-form form {
    padding: 0 30px 16px;
}
.reg-btn {
    border: none;
    background: #401269;
    box-shadow: rgb(57 14 97) 0px 8px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    color: #fff;
    width: 90%;
    font-weight: 400;
    height: 48px;
    margin: 8px auto 13px;
    display: block;
}

/* Input Container */
.mat-input {
    position: relative;
    font-size: inherit;
    padding: 10px 0 20px;
}
.mat-input input {
    border-width: 0 0 1px;
    outline: none;
    background-color: #0000000a;
    border-radius: 4px 4px 0 0;
    padding: 1.8em 0.75em 0.75em;
    border-color: #8c8c8c;
    border-style: solid;
    transition: 0.1s;
    width: 94%;
    margin: auto;
    font-size: 16px;
    font-family: inherit;
}
.mat-input input:hover,
.mat-input input:focus {
    border-bottom-width: 2px;
    padding-bottom: calc(0.75em - 1px);
}
.mat-input input:hover {
    border-color: #121212;
}
.mat-input input:focus {
    border-color: #401269;
}
.mat-input label {
    position: absolute;
    top: 31px;
    left: 1em;
    pointer-events: none;
    transition: 0.2s;
    color: #0009;
}
.mat-input:has(input:focus) label {
    color: #401269;
}
.mat-input:has(input:focus) label,
.mat-input:not(:has(input:placeholder-shown)) label {
    top: 16px;
    font-size: 0.8em;
}
.mat-input input::placeholder {
    opacity: 0;
    transition: 0.2s;
    color: #aaa;
}
.mat-input input:focus::placeholder {
    opacity: 1;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    /* bottom: 30px; */
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 9999;
    width: 85%;
    text-align: center;
}

.toast.show {
    opacity: 1;
}
