.modal-dialog-centered .modal-content {
    background-color: #212121;
    padding: 0.5rem;
    border: none;
}

.modal-dialog-centered .modal-footer {
    border: none;
}

.btn-close {
    color: #fff;
}

.form-label {
    color: #349254;
}

.custom-input {
    position: relative;
    padding: 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 2px solid rgba(52, 146, 84, 0.65);
    background-color: #212121;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.custom-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 146, 84, 0.1), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.custom-input:focus {
    border-color: #349254;
    box-shadow:
        0 0 15px rgba(52, 146, 84, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.custom-input:focus::before {
    left: 100%;
}

.custom-input::placeholder {
    color: #9e9e9e;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.custom-input:focus::placeholder {
    color: transparent;
    transform: translateY(-10px);
}

.custom-button {
    position: relative;
    background: linear-gradient(to right, #349254, #5bbf7a);
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(52, 146, 84, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.custom-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.custom-button:hover {
    background: linear-gradient(to right, #5bbf7a, #349254);
    transform: translateY(-2px) scale(1.05);
    box-shadow:
        0 12px 30px rgba(52, 146, 84, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.custom-button:hover::before {
    left: 100%;
}

.custom-button:active {
    background: linear-gradient(to right, #2d7a46, #4a9960);
    transform: translateY(0px) scale(1.02);
    box-shadow:
        0 5px 15px rgba(52, 146, 84, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.password-forgot {
    color: #349254;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.password-forgot:hover {
    color: #5bbf7a;
    text-shadow: 0 0 8px rgba(52, 146, 84, 0.3);
    transform: translateX(2px);
}