.document-background-container {
    z-index: -1;
    position: fixed;
    overflow: hidden;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0d7377 0%, #14919b 50%, #17a2b8 100%);
}

.document {
    position: absolute;
    opacity: 0.15;
    animation: floatDocument 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.document svg {
    fill: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.doc1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.doc2 {
    top: 60%;
    left: 8%;
    animation-delay: -5s;
}

.doc3 {
    top: 25%;
    right: 10%;
    animation-delay: -10s;
}

.doc4 {
    bottom: 15%;
    right: 8%;
    animation-delay: -15s;
}

.doc5 {
    top: 45%;
    left: 15%;
    animation-delay: -7s;
}

.doc6 {
    top: 75%;
    right: 20%;
    animation-delay: -12s;
}

@keyframes floatDocument {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-50px) rotate(-3deg);
    }
    75% {
        transform: translateY(-20px) rotate(4deg);
    }
}

.paper-sheet {
    position: absolute;
    opacity: 0.1;
    animation: flyAcross 25s linear infinite;
    pointer-events: none; 
    z-index: 0; 
}

.paper1 {
    top: 20%;
    animation-delay: 0s;
}

.paper2 {
    top: 50%;
    animation-delay: -8s;
}

.paper3 {
    top: 80%;
    animation-delay: -16s;
}

@keyframes flyAcross {
    from {
        left: -100px;
        transform: rotate(-10deg);
    }
    to {
        left: calc(100% + 100px);
        transform: rotate(10deg);
    }
}

.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 450px;
}

.form-controls input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-controls mat-form-field {
    display: inherit;
    margin-bottom: 20px;
}

.form-controls mat-error {
    color: #ff0000c7;
}

.logo-img {
    width: 230px;
    height: auto;
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

.btn-login {
    background-color: #008080;
    color: #fff;
    border-width: 3px;
    border-color: #008080;
}

.btn-login:hover {
    background-color: #fff;
    color: #008080;
    border-width: 3px;
    border-color: #008080;
}

.main-panel {
    width: 100%;
}

.navbar {
    display: none;
}

.container-fluid > .row {
    margin: 150px auto;
}

.wrapper {
    display: block !important;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    position: relative;
    transition: height 0.3s ease;
}

.hidden-element {
    display: none !important;
}

.logo-img {
    width: 200px; 
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.input-group-modern {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.input-inner-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 12px 40px 12px 45px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    transition: all 0.2s ease;
    outline: none;
    background-color: #fff;
    height: 48px;
}

.form-input:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

.error-message-field {
    color: #ef4444; 
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
    background: #fef2f2;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #fee2e2;
}

.btn-login {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background-color: #0d9488; 
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-login:hover {
    background-color: #0f766e;
    color: #fff;
}

.btn-login:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.forgot-pass-link {
    text-align: center;
    margin-top: 15px;
}

.forgot-pass-link a {
    color: #0d9488;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-pass-link a:hover {
    text-decoration: underline;
}

.toggle-password {
    position: absolute;
    right: 14px;
    color: #9ca3af;
    cursor: pointer;
    z-index: 2;
}

.toggle-password:hover {
    color: #0d9488;
}