﻿.bg-design {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.meteor-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.meteor {
    position: absolute;
    background: linear-gradient(to bottom, rgba(30, 30, 30, 1), rgba(30, 30, 30, 0.3)); /* Xám đậm gần đen */
    width: 12px; /* Đầu to */
    height: 100px; /* Chiều dài */
    transform: rotate(-30deg); /* Nghiêng sang trái */
    transform-origin: center top;
    animation: meteor 2s linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1); /* Bóng sáng mạnh */
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%); /* Nhọn ở đỉnh, dẹp ở đuôi */
}

@keyframes meteor {
    0% {
        transform: translate(-100px, -100px) rotate(-30deg);
        opacity: 1;
    }

    100% {
        transform: translate(100%, 33%) rotate(-30deg); /* Rơi 1/3 chiều cao */
        opacity: 0;
    }
}

.containerr {
    position: relative;
    z-index: 2;
    max-width: 470px;
    width: 100%;
    margin: 20px;
}

.content {
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    .content::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: #fff;
        opacity: .9;
        pointer-events: none;
        z-index: 1;
    }

    .content::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        background-image: url("../../../Design/img/contact-background.jpg");
    }

.img.header {
    text-align: center;
    border-bottom: 1px solid #33333324;
    margin-bottom: 18px;
    padding-bottom: 18px;
    position: relative;
    z-index: 3;
}

    .img.header img {
        max-width: 100%;
        height: auto;
    }

.login-form, .signup-form {
    text-align: center;
    position: relative;
    z-index: 3;
}

.title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

.text-muted {
    color: #555;
    font-size: 14px;
    text-align: left;
    display: block;
    margin-top: 19px;
}

.textbox {
    position: relative;
    border-bottom: 1px solid #33333324;
    margin-top: 15px;
}

    .textbox.capcha {
        display: flex;
        margin-bottom: 31px;
        justify-content: center;
        align-items: center;
    }

.txt {
    width: 100%;
    height: 38px;
    padding: 0 15px;
    border: 1px solid #aaa;
    font-size: 16px;
    outline: none;
    outline: none;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
    background-color: transparent !important;
    padding: 0 9px;
    color: #555;
    font-size: 14px;
    box-sizing: border-box;
}

    .txt:focus {
        box-shadow: 0 1px 0 #ddd;
    }

.skin-flat {
    display: flex;
    margin-top: 17px;
    align-items: center;
}

.bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary {
    background: #4070f4;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    height: 42px;
}

.btn-secondary {
    background: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
    font-weight: bold;
    text-transform: uppercase;
    height: 42px;
    line-height: 100%;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
    display: block;
    margin-top: 11px;
}

.login-f {
    err;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: linear-gradient(180deg,rgba(88, 186, 146, 1) 0%, rgba(1, 107, 92, 1) 100%);
}


.bg-design {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.meteor-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.meteor {
    position: absolute;
    background: linear-gradient(to bottom, rgba(30, 30, 30, 1), rgba(30, 30, 30, 0.3)); /* Xám đậm gần đen */
    width: 12px; /* Đầu to */
    height: 100px; /* Chiều dài */
    transform: rotate(-30deg); /* Nghiêng sang trái */
    transform-origin: center top;
    animation: meteor 2s linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 1); /* Bóng sáng mạnh */
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%); /* Nhọn ở đỉnh, dẹp ở đuôi */
}

@keyframes meteor {
    0% {
        transform: translate(-100px, -100px) rotate(-30deg);
        opacity: 1;
    }

    100% {
        transform: translate(100%, 33%) rotate(-30deg); /* Rơi 1/3 chiều cao */
        opacity: 0;
    }
}

.containerr {
    position: relative;
    z-index: 2;
    max-width: 470px;
    width: 100%;
    margin: 20px;
}

.content {
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    .content::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: #fff;
        opacity: .9;
        pointer-events: none;
        z-index: 1;
    }

    .content::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        pointer-events: none;
        background-image: url("../../../Design/img/contact-background.jpg");
    }

.img.header {
    text-align: center;
    border-bottom: 1px solid #33333324;
    margin-bottom: 18px;
    padding-bottom: 18px;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
}

    .img.header img {
        max-width: 100%;
        height: auto;
        width: 50%;
    }

.login-form, .signup-form {
    text-align: center;
    position: relative;
    z-index: 3;
}

.title1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

.text-muted {
    color: #555;
    font-size: 14px;
    text-align: left;
    display: block;
    margin-top: 19px;
}

.textbox {
    position: relative;
    border-bottom: 1px solid #33333324;
    margin-top: 15px;
}

    .textbox.capcha {
        display: flex;
        margin-bottom: 31px;
        justify-content: center;
        align-items: center;
    }

.txt {
    width: 100%;
    height: 38px;
    padding: 0 15px;
    border: 1px solid #aaa;
    font-size: 16px;
    outline: none;
    outline: none;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
    background-color: transparent !important;
    padding: 0 9px;
    color: #555;
    font-size: 14px;
    box-sizing: border-box;
}

    .txt:focus {
        box-shadow: 0 1px 0 #ddd;
    }

.skin-flat {
    display: flex;
    margin-top: 17px;
    align-items: center;
}

.bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.btn-primary {
    background: #4070f4;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    height: 42px;
}

.btn-secondary {
    background: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
    font-weight: bold;
    text-transform: uppercase;
    height: 42px;
    line-height: 100%;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
    display: block;
    margin-top: 11px;
}

/* Responsive Design */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
}

@media(max-width:1023px) {
    .container {
        width: 90%;
        max-width: 600px;
    }

    .content {
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

    .login-form, .signup-form {
        padding: 10px;
    }

    .title {
        font-size: 22px;
        letter-spacing: 0.5px;
    }

    .txt {
        height: 38px;
        font-size: 15px;
        padding: 0 10px;
        border-bottom: 2px solid #ccc;
    }

    .btn {
        padding: 11px;
        font-size: 15px;
        border-radius: 8px;
        transition: transform 0.2s ease;
    }

        .btn:hover {
            transform: scale(1.02);
        }

    .meteor {
        width: 10px;
        height: 80px;
        animation-duration: 1.7s;
    }

    .text-muted {
        font-size: 13px;
        line-height: 1.4;
    }

    .textbox.capcha {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    s
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .containerr {
        width: 95%;
        margin: 10px auto;
    }

    .content {
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
    }

    .login-form, .signup-form {
        padding: 5px;
    }

    .title {
        font-size: 18px;
        font-weight: 600;
        text-align: center;
    }

    .txt {
        height: 34px;
        font-size: 13px;
        padding: 0 8px;
        border-bottom: 1px solid #ddd;
    }

    .btn {
        padding: 9px;
        font-size: 13px;
        border-radius: 6px;
    }

    .login-f {
    }

    .btn-primary {
        background: linear-gradient(45deg, #4070f4, #5080ff);
    }

    .btn-secondary {
        border: 1px solid #666;
        color: #666;
    }

    .meteor {
        width: 7px;
        height: 50px;
        animation-duration: 1.4s;
    }

    .text-muted {
        font-size: 11px;
        text-align: center;
        line-height: 1.3;
    }

    .img.header {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .textbox.capcha {
        margin-bottom: 15px;
        gap: 8px;
    }
}
