.registration-form {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f8fb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

    p {
        color: black;
    }
    .form-group {
        margin-bottom: 1.5rem;

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #333;
        }

        input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 1rem;
            font-family: inherit;
            box-sizing: border-box;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;

            &:focus {
                outline: none;
                border-color: #2c5aa0;
                box-shadow: 0 0 5px rgba(44, 90, 160, 0.3);
            }

            &:invalid {
                border-color: #dc3545;
            }

            &:valid {
                border-color: #28a745;
            }
        }

        .help-text {
            font-size: 0.9rem;
            color: #666;
            margin-top: 0.25rem;
        }
    }

    button {
        background-color: #262334;
        color: #f8f8fb;
        padding: 0.75rem 2rem;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        display: block;
        margin: 0 auto;

        &:hover {
            background-color: #353050;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        &:active {
            transform: translateY(1px);
        }

        &:disabled {
            background-color: #6c757d;
            cursor: not-allowed;
        }
    }
}

/* Edit page */
.edit-form {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f8fb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;

    .form-group {
        margin-bottom: 1.5rem;

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #333;
        }

        input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 1rem;
            font-family: inherit;
            box-sizing: border-box;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;

            &:focus {
                outline: none;
                border-color: #2c5aa0;
                box-shadow: 0 0 5px rgba(44, 90, 160, 0.3);
            }
        }
    }

    button {
        background-color: #262334;
        color: #f8f8fb;
        padding: 0.75rem 2rem;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        display: block;
        margin: 0 auto;

        &:hover {
            background-color: #353050;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        &:active {
            transform: translateY(1px);
        }
    }

    .dropdown {
        margin-bottom: 50px;

    }

    .dropbtn {
        margin: 0;
        background-color: #e8e8f3 ;
        color: #262334;
        border: 1px solid #262334;
        
        &:hover {
            color: #f8f8fb;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
    }

    .dropdown-content {
        display: none;
    }
    
    .dropdown.active .dropdown-content {
        display: flex;
        flex-direction: column;
        a {
            text-decoration: none;
            padding: 0.2rem 2rem;;
            background-color: #353050;
            color: #e8e8f3;
            border: 1px solid #262334;
            border-radius: 6px;
            width: 10.6%;
    
            &:hover {
                background-color: #262334;
                color: #e8e8f3;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
    
            &:active {
                transform: translateY(1px);
            }
        }
    }

    .go-back-btns {
        text-align: center;
        margin: 20px;
        a {
            display: flex;
            flex-direction: column;
            padding: 0.2rem 1rem;
            border-radius: 6px;
            color: #262334;

            &:hover {
                color: #353050;
            }  
        }
    }
}

/* users list page  */
.user-card {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f8fb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #333;

    /* .user-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    } */
    .actions {
        display: flex;
        flex-direction: row;

        .edit-btn {
            display: inline-block;
            margin-right: 10px;
            text-decoration: none;
            padding: 0rem 2.4rem;
            background-color: #353050;
            color: #e8e8f3;
            border: 1px solid #262334;
            border-radius: 6px;
            cursor: pointer;

            &:hover {
                color: #353050;
                background-color: #e8e8f3;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
        }
        
        .delete-btn {
            padding: 0.2rem 2rem;
            background-color: #353050;
            color: #e8e8f3;
            border: 1px solid #262334;
            border-radius: 6px;
            cursor: pointer;

            &:hover {
                color: #353050;
                background-color: #e8e8f3;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
        }
        
    }


}