@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(rgba(101, 67, 33, 0.6), rgba(139, 115, 85, 0.4)), url('/api/placeholder/1920/1080');
    background-size: cover;
    background-position: center;
}

body {
    background-image: url(/cms/img/mainbg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.form {
    background: rgba(139, 115, 85, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px 60px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(125, 211, 192, 0.2), 0 5px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(139, 115, 85, 0.3);
    width: 300px;
    position: relative;
    overflow: hidden;
}

.form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent, rgba(125, 211, 192, 0.15), transparent);
    transform: rotate(45deg);
    animation: glowEffect 3s infinite;
}

@keyframes glowEffect {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }

    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(125, 211, 192, 0.5), 0 0 20px rgba(125, 211, 192, 0.3), 0 0 30px rgba(125, 211, 192, 0.1);
    animation: fadeInTitle 1.5s ease-out;
}

.login-form {
    position: relative;
    z-index: 1;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    background: rgba(139, 115, 85, 0.1);
    border: 1px solid rgba(125, 211, 192, 0.3);
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus {
    outline: none;
    border-color: rgba(125, 211, 192, 0.8);
    box-shadow: 0 0 15px rgba(125, 211, 192, 0.3);
}

.submit-action {
    width: 100%;
    padding: 12px;
    background: rgba(125, 211, 192, 0.2);
    border: 1px solid rgba(125, 211, 192, 0.3);
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-action:hover {
    background: rgba(125, 211, 192, 0.4);
    box-shadow: 0 0 20px rgba(125, 211, 192, 0.4);
}

@media (max-width: 480px) {
    .form {
        padding: 26px 20px;
        width: 280px;
        border: none;
    }
}