/* ============================================
   MODERNDESA v4 — Login Form Elements
   Glassmorphic Inputs + Buttons
   assets/css/login-form-elements.css
   ============================================ */

input[type="text"],
input[type="password"],
textarea,
textarea.form-control {
    height: 52px;
    margin: 0;
    padding: 0 18px;
    vertical-align: middle;
    text-align: left;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.12);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 52px;
    color: #fff;
    border-radius: 14px;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-appearance: none;
    width: 100%;
    backdrop-filter: blur(8px);
}

textarea,
textarea.form-control {
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.5;
    text-align: left;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
textarea.form-control:focus {
    outline: 0;
    background: rgba(255,255,255,0.1);
    border-color: rgba(16,185,129,0.5);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.1), 0 0 20px rgba(16,185,129,0.05);
    transform: translateY(-1px);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder {
    color: rgba(255,255,255,0.35);
    font-weight: 400;
}

input[type="text"]:-moz-placeholder, input[type="password"]:-moz-placeholder,
textarea:-moz-placeholder, textarea.form-control:-moz-placeholder { color: rgba(255,255,255,0.35); }
input[type="text"]:-ms-input-placeholder, input[type="password"]:-ms-input-placeholder,
textarea:-ms-input-placeholder, textarea.form-control:-ms-input-placeholder { color: rgba(255,255,255,0.35); }
input[type="text"]::-webkit-input-placeholder, input[type="password"]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder, textarea.form-control::-webkit-input-placeholder { color: rgba(255,255,255,0.35); }

button.btn {
    height: 52px;
    margin: 0;
    padding: 0 20px;
    vertical-align: middle;
    background: rgba(16,185,129,0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16,185,129,0.25);
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 52px;
    color: #fff;
    border-radius: 14px;
    text-shadow: none;
    box-shadow: 0 4px 20px rgba(16,185,129,0.25), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

/* Shimmer sweep */
button.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}
button.btn:hover::after {
    left: 100%;
}

button.btn:hover {
    background: rgba(5,150,105,0.85);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(16,185,129,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
}
button.btn:active {
    outline: 0;
    color: #fff;
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(16,185,129,0.2);
}
button.btn:focus {
    outline: 0;
    background: rgba(5,150,105,0.85);
    color: #fff;
}
button.btn:active:focus, button.btn.active:focus {
    outline: 0;
    background: rgba(4,120,87,0.9);
    color: #fff;
}
